在平时跑mapReduce程序时,经常会遇到这样的错误,网上也有好多针对该错误的解决办法,但是我遇到的并不是因为hadoop环境配置出的错,错误可能会是自己的代码或hadoop资源紧张导致的该错误。我有次log4.xml配置文件有问题也报这个错误,这个问题 挺二的,希望有遇到这种错误的把解决方案奉献下!!!!!
java.lang.Throwable: Child Error
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:242)
Caused by: java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:229)
12/08/28 10:35:09 WARN mapred.JobClient: Error reading task outputhttp://RS5-126:50060/tasklog?plaintext=true&attemptid=attempt_201208182038_0280_r_000006_0&filter=stdout
12/08/28 10:35:09 WARN mapred.JobClient: Error reading task outputhttp://RS5-126:50060/tasklog?plaintext=true&attemptid=attempt_201208182038_0280_r_000006_0&filter=stderr
12/08/28 10:35:13 INFO mapred.JobClient: Task Id : attempt_201208182038_0280_r_000006_1, Status : FAILED
java.lang.Throwable: Child Error
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:242)
Caused by: java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:229)
java.lang.Throwable: Child Error
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:242)
Caused by: java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:229)
12/08/28 10:35:09 WARN mapred.JobClient: Error reading task outputhttp://RS5-126:50060/tasklog?plaintext=true&attemptid=attempt_201208182038_0280_r_000006_0&filter=stdout
12/08/28 10:35:09 WARN mapred.JobClient: Error reading task outputhttp://RS5-126:50060/tasklog?plaintext=true&attemptid=attempt_201208182038_0280_r_000006_0&filter=stderr
12/08/28 10:35:13 INFO mapred.JobClient: Task Id : attempt_201208182038_0280_r_000006_1, Status : FAILED
java.lang.Throwable: Child Error
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:242)
Caused by: java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:229)