读书人

大数据系列12:Hadoop2 崭新的Hado

发布时间: 2013-11-09 17:06:47 作者: rapoo

大数据系列12:Hadoop2 全新的Hadoop
?> ?text1.txt

echo ?"Yang Shangchuan is the founder of APDPlat which won the "2013 Outstanding Open Source Project" award." ?> ?text2.txt

bin/hadoop ?fs ?-mkdir?input

bin/hadoop ?fs ?-puttext1.txt ?input

bin/hadoop ?fs ?-puttext2.txt ?input

bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.2.0.jar wordcount ?input ?output

访问管理页面:

http://host001:8088

http://host001:50070

http://host001:19888

停止dfs:

sbin/stop-dfs.sh

停止yarn:

sbin/stop-yarn.sh

停止historyserver:

sbin/mr-jobhistory-daemon.sh?stop ?historyserver

读书人网 >互联网

热点推荐