20/12/05 01:34:14 INFO mapreduce.Job: Task Id : attempt_1594195336447_31879910_r_000074_0, Status : FAILED
Error: java.io.IOException: Unable to close file because the last block does not have enough number of replicas.
at org.apache.hadoop.hdfs.DFSOutputStream.completeFile(DFSOutputStream.java:2409)
at org.apache.hadoop.hdfs.DFSOutputStream.closeImpl(DFSOutputStream.java:2370)
at org.apache.hadoop.hdfs.DFSOutputStream.close(DFSOutputStream.java:2335)
at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:72)
at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:106)
at org.apache.hadoop.hive.ql.io.RCFile$Writer.close(RCFile.java:1267)
at com.sina.hadoop.rcfile.RCFileOutputFormat$1.close(RCFileOutputFormat.java:91)
at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.close(ReduceTask.java:550)
at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:629)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1726)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:237)
Container killed by the ApplicationMaster.
来源:oschina
链接:https://my.oschina.net/captainliu/blog/4776521