demo备忘
程序员文章站
2022-03-13 10:22:11
...
WordCount,小demo备忘
/usr/local/hadoop# bin/hadoop namenode -format
/usr/local/hadoop# bin/start-all.sh
/usr/local/hadoop# jps
/usr/local/hadoop# sudo mkdir test
/usr/local/hadoop# la
/usr/local/hadoop# echo "**">*.txt
/usr/local/hadoop# bin/hadoop fs -mkdir in
/usr/local/hadoop# bin/hadoop fs -ls
/usr/local/hadoop# bin/hadoop fs -put /usr/local/hadoop/*.txt in
/usr/local/hadoop# bin/hadoop fs -ls in
/usr/local/hadoop# bin/hadoop jar hadoop-0.20.2-examples.jar wordcount in out
下一篇: oracle语法备忘-循环