Cause: the container running on the slave machine tried to use too much memory and was killed by the nodemanager.
Solution: add memory
Set the memory configuration for map and reduce tasks in the configuration file mapred-site.xml of hadoop as follows: (The actual memory configured in the value needs to be modified according to the memory size of your machine and the application)
<property>
<name>mapreduce.map.memory.mb</name>
<value>1536</value>
</property>
<property>
<name>mapreduce.map.java.opts</name>
<value>-Xmx1024M</value>
</property>
<property>
<name>mapreduce.reduce.memory.mb</name>
<value>3072</value>
</property>
<property>
<name>mapreduce.reduce.java.opts</name>
<value>-Xmx2560M</value>
</property>
Read More:
- Hive Statement Error During Execution: Error while processing statement: FAILED: Execution Error, return code 2 from o
- [Solved] Error while processing statement: FAILED: Execution Error, return code 3 from org.apache.
- [Solved] Hive Error: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
- [Solved] HiveSQL Error: “Error while processing statement: FAILED: Execution Error, return code 2“
- [Solved] Hive Error while processing statement: FAILED: Execution Error
- Hive Error: FAILED: RuntimeException Error loading hooks(hive.exec.post.hooks): java.lang.ClassNotFoundException: org.apache.atlas.hive.hook.HiveHook
- Hive: Hive partition sorting error [How to Solve]
- [Solved] Hadoop Error: Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
- Hive Error: Error: GC overhead limit exceeded
- [Solved] Console error: syntax error: illegal return statement
- [Solved] Hive tez due to: ROOT_INPUT_INIT_FAILURE java.lang.IllegalArgumentException: Illegal Capacity: -38297
- How to Solve Maven Error: Return code is: 501 , ReasonPhrase:HTTPS Required.
- How to Solve org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) Error
- Hive ERROR Failed with exception java.io.IOException:java.lang.IllegalArgumentException
- Hive 3.1.2 startup error reporting and resolution of guava version conflict
- [Solved] Hadoop Mapreduce Error: GC overhead limit exceeded
- [Solved] Hive 2.3.9 Error: Error: Unrecognized column type: UNIONTYPE (state=,code=0)
- db2 purescale Install Error: ERROR: An error occurred while compiling IBM General Parallel File System (GPFS) Portability Layer (GPL) on host “cf1”. Return code “3”.
- [Solved] Execution failed for task ‘:app:checkDebugAarMetadata‘