为了账号安全,请及时绑定邮箱和手机立即绑定

map 0% reduce 0% 然后就结束了,请问知道是什么问题吗?

[root@VM_0_2_centos wordcount]# hadoop jar word_count_class/wordcount.jar WordCount input_wordcount output_wordcount

Warning: $HADOOP_HOME is deprecated.


19/04/24 18:42:32 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.

19/04/24 18:42:32 INFO input.FileInputFormat: Total input paths to process : 2

19/04/24 18:42:32 INFO util.NativeCodeLoader: Loaded the native-hadoop library

19/04/24 18:42:32 WARN snappy.LoadSnappy: Snappy native library not loaded

19/04/24 18:42:32 INFO mapred.JobClient: Running job: job_201904241555_0006

19/04/24 18:42:33 INFO mapred.JobClient:  map 0% reduce 0%

19/04/24 18:42:33 INFO mapred.JobClient: Job complete: job_201904241555_0006

19/04/24 18:42:33 INFO mapred.JobClient: Counters: 0


正在回答

1 回答


hadoop fs -ls /user/root/output_wordcount/_logs/history

用上述命令切换到日志目录去查看错误信息,我是因为主机名错误。

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

map 0% reduce 0% 然后就结束了,请问知道是什么问题吗?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信