大数据系列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