博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
设置hadoop 本地环境_设置独立(本地)Hadoop
阅读量:2518 次
发布时间:2019-05-11

本文共 1412 字,大约阅读时间需要 4 分钟。

设置hadoop 本地环境

is designed to run on inside . However, Hadoop is configured to run things in a non-distributed mode as a single Java process by default. This is specially useful for debugging since distributed debugging is really a nightmare. This post introduces how to set up a standalone Hadoop environment.

旨在在 上运行。 但是,默认情况下,Hadoop被配置为以非分布式模式作为单个Java进程运行事物。 这对于调试特别有用,因为分布式调试确实是一场噩梦。 这篇文章介绍了如何设置独立的Hadoop环境。

1. Hadoop软件包和软件安装 (1. Hadoop package and software installation)

Follow the instruction of “1. Install needed packages” part in to install packages. Fllow “4. Hadoop Concigurations” to configure hadoop-env.sh (this file only).

请遵循“ 1。 “安装所需的软件包”部分来安装软件包。 调剂“ 4。 Hadoop配置”中配置hadoop-env.sh(仅此文件)。

2.只需运行Hadoop! (2. Just run Hadoop!)

Just run hadoop jobs whose input and output is in local directories. We use a simple example to show how to a Hadoop job.

只需运行hadoop作业,其输入和输出在本地目录中。 我们使用一个简单的示例来展示如何 Hadoop作业。

The example finds and displays every match of the given regular expression. Output is written to the given output directory.

该示例查找并显示给定正则表达式的每个匹配项。 输出被写入给定的输出目录。

$ mkdir input$ cp conf/*.xml input$ bin/hadoop jar hadoop-mapred-examples-0.21.0.jar grep input output '[a-z.]+'$ cat output/*

The jar file’s name may be different depending on the Hadoop distribution’s version.

jar文件的名称可能会有所不同,具体取决于Hadoop发行版的版本。

Is it simple? Enjoy it and go further to play .

简单吗? 尽情享受它,然后继续玩《 。

翻译自:

设置hadoop 本地环境

转载地址:http://wfowd.baihongyu.com/

你可能感兴趣的文章
Java 笔记07
查看>>
POJ 3041 Asteroids (二分匹配)
查看>>
响应式布局
查看>>
缺陷跟踪系统Mantis之安装篇(转载)
查看>>
UI1_UITableViewHomeWork
查看>>
简单解析依赖注入(控制反转)在Spring中的应用
查看>>
NoSQL 简介及什么是AICD
查看>>
hibernate+mysql的连接池配置
查看>>
条件运算符 (?:)
查看>>
javascript Array(数组)
查看>>
HDU1518 Square 【剪枝】
查看>>
桥接模式
查看>>
crm查询记录共享给了哪些人
查看>>
android windows 上JNI编程
查看>>
PHP中可变变量到底有什么用?
查看>>
谈一谈最近关闭的Kindle人论坛
查看>>
mysql 常用命令行
查看>>
PDF.NET数据开发框架 之SQL-MAP使用存储过程
查看>>
如何用eclipse运行导入的maven项目
查看>>
svn服务器安装
查看>>