ubuntu 14.04 install hadoop 3.0.0 alpha1

本文档详细介绍了Hadoop的安装流程,包括从官方网站下载Hadoop软件包、配置Java环境、设置SSH免密码登录等步骤,并提供了运行示例程序所需的注意事项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. Hadoop install web site: http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html

Follow the steps and it gets work. But for the Pseudo-Distributed mode, need following point 4.

2. Hadoop download web site: http://www.apache.org/dyn/closer.cgi/hadoop/common/


3. Java install: sudo apt-get install oracle-java8-installer

Java 1.8 supports Hadoop 3.0.0 alpha1 (both run and build)

update Java alternatives:

sudo update-alternatives --config java

sudo update-alternatives --config javac


4. configure ssh to pdsh default connection ( or can't start namenode and datanode, it will report connection issue).

create file rcmd_default at /etc/pdsh


5. Hadoop example build web site: http://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html

Follow the steps to build the code. JAVA 1.8 is good. OPENJDK 1.7 reports build warning and can't run the hadoop example.

6. run the built example, need add the package name of the class. Or the java will report can't find the class.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值