标签:map star output tput dir NPU jar dmi jps
master操作:
[admin@master ~]$ start-all.sh
[admin@master ~]$ jps
[admin@master ~]$ hadoop fs -mkdir /input
[admin@master ~]$ cd hadoop-3.0.0/
[admin@master hadoop-3.0.0]$ ls
[admin@master hadoop-3.0.0]$ hadoop fs -put LICENSE.txt /input
[admin@master hadoop-3.0.0]$ hadoop fs -ls /input
[admin@master hadoop-3.0.0]$ cd share/hadoop/mapreduce/
[admin@master mapreduce]$ ls
[admin@master mapreduce]$ hadoop jar hadoop-mapreduce-examples-3.0.0.jar wordcount /input /output
[admin@master mapreduce]$ hadoop fs -cat /output/*
[admin@master mapreduce]$ stop-all.sh
标签:map star output tput dir NPU jar dmi jps
原文地址:https://www.cnblogs.com/Luoters/p/11996905.html