- hadoop dfsadmin -report查看HDFS的状态报告。
- source /etc/profile使配置的环境变量生效,CentOS6.5
- 一条本地抽取一部分数据测试mapReduce的命令:
cat The_Man_of_Property.txt | python map.py | sort -k1 | python red.py | sort -k2 -nr | head -20
cat The_Man_of_Property.txt | python map.py | sort -k1 | python red.py | sort -k2 -nr | head -20
本文标题:常用命令
本文链接:https://www.haomeiwen.com/subject/fbcjlxtx.html
网友评论