欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

相关标签: 备忘