标签:art 运行 dfs input bsp jar 检查 local nbsp
start-dfs.sh
start-yarn.sh
1、检查hdfs
hdfs dfs -ls /
http://localhost:50070
2、运行例子程序
hdfs dfs -ls /
hdfs dfs -mkdir -R /example/grep/input
hdfs dfs -mkdir -R /example/grep/output
hdfs dfs -copyFromLocal /etc/profile /example/grep/input
hdfs dfs -rm -r /example/grep/output
hadoop jar
3、检查yarn
http://localhost:8088
hdfs dfs -cat /example/grep/output/*
4、stop
stop-dfs.sh
stop-yarn.sh
hadoop2.6.0实践:003 检查hadoop是否可用
标签:art 运行 dfs input bsp jar 检查 local nbsp
原文地址:http://www.cnblogs.com/lexiaofei/p/6358437.html