[atguigu@hadoop102 hadoop-3.1.3]$ hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.3.jar wordcount /wcinput /wcoutput
输出文件没有内容。
解决办法:修改默认配置文件“mapred-default.xml”
mapreduce.task.timeout 8000000 #延长时间600000修改为8000000The number of milliseconds before a task will be terminated if it neither reads an input, writes an output, nor updates its status string. A value of 0 disables the timeout.



