MR job fails with multiple exceptions (container got killed).
Blocker
Yes.
Yes.
1st: WARN [main] org.apache.hadoop.util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2nd: Failure: “Container killed by the ApplicationMaster. Container killed on request. Exit code is 137 Too Many fetch failures.Failing the attempt “
--- Note: what failure you see is platform specific.
0.23.0 --- manually reverse the patch.
Standard configurations. But I should enable the debug log in AM:
mapred-site.xml:
<property>
<name>mapreduce.map.log.level</name>
<value>DEBUG</value>
</property>
<property>
<name>mapreduce.reduce.log.level</name>
<value>DEBUG</value>
</property>
1. generate sort input:
hadoop jar hadoop-*-examples.jar randomwriter rand
--- This will generate 10 GB of random files in the directory rand (/user/ding/rand).
2. sort it:
hadoop jar hadoop-mapreduce-examples-*.jar sort -D mapreduce.job.acl-view-job=* -D mapreduce.map.output.compress=true -D mapreduce.map.output.compress.codec=org.apache.hadoop.io.compress.GzipCodec
-D mapreduce.output.fileoutputformat.compress=true -D mapreduce.output.fileoutputformat.compression.type=NONE -D mapreduce.output.fileoutputformat.compression.codec=org.apache.hadoop.io.compress.GzipCodec -outKey
org.apache.hadoop.io.Text -outValue org.apache.hadoop.io.Text rand output
Single event.
Yes.
Yes.
1. AM (single component failure).
The final failure exceptions (platform specific).
You can find the error message:
2013-07-30 21:32:19,966 WARN [main] org.apache.hadoop.util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Yes. Developers had little trouble in diagnosing it.
No.
No.
No
The developers simply set the wrong “LD_LIBRARY_PATH” environment variable at the beginning.
It is also a configuration error.
Incorrect error handling (environment coverage). They did not handle the configuration error correctly, and this will result in catastrophic symptoms on some specific environment.