hadoop集群测试
master操作:
[ ~]$ start-all.sh
[ ~]$ jps
[ ~]$ hadoop fs -mkdir /input
[ ~]$ cd hadoop-3.0.0/
[ hadoop-3.0.0]$ ls
[ hadoop-3.0.0]$ hadoop fs -put LICENSE.txt /input
[ hadoop-3.0.0]$ hadoop fs -ls /input
[ hadoop-3.0.0]$ cd share/hadoop/mapreduce/
[ mapreduce]$ ls
[ mapreduce]$ hadoop jar hadoop-mapreduce-examples-3.0.0.jar wordcount /input /output
[ mapreduce]$ hadoop fs -cat /output/*
[ mapreduce]$ stop-all.sh
相关推荐
tomli 2020-07-26
changjiang 2020-11-16
minerd 2020-10-28
WeiHHH 2020-09-23
Aleks 2020-08-19
WeiHHH 2020-08-17
飞鸿踏雪0 2020-07-26
deyu 2020-07-21
strongyoung 2020-07-19
eternityzzy 2020-07-19
Elmo 2020-07-19
飞鸿踏雪0 2020-07-09
飞鸿踏雪0 2020-07-04
xieting 2020-07-04
WeiHHH 2020-06-28
genshengxiao 2020-06-26
Hhanwen 2020-06-25