Use the command to view the detailed error log
# Increase the logging level of the system and output on the console
hive --hiveconf hive.root.logger=DEBUG,console
Cause: JVM heap memory overflowed
Solution:
Add the following content in yarn-site.xml:
<property>
<name>yarn.scheduler.maximum-allocation-mb</name>
<value>3072</value>
</property>
<property>
<name>yarn.scheduler.minimum-allocation-mb</name>
<value>1024</value>
</property>
<property>
<name>yarn.nodemanager.vmem-pmem-ratio</name>
<value>2.1</value>
</property>
<property>
<name>mapred.child.java.opts</name>
<value>-Xmx1024m</value>
</property>
Synchronize the configuration to other nodes and restart Hadoop
Read More:
- HIVE Error: Error: Error while processing statement: FAILED: Execution Error, return code 2 from org.apac
- [Solved] Error while processing statement: FAILED: Execution Error, return code 3 from org.apache.
- [Solved] HiveSQL Error: “Error while processing statement: FAILED: Execution Error, return code 2“
- [Solved] Hive Error while processing statement: FAILED: Execution Error
- [Solved] Hive Error: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
- Hive: Hive partition sorting error [How to Solve]
- [Solved] Console error: syntax error: illegal return statement
- Hive Error: FAILED: RuntimeException Error loading hooks(hive.exec.post.hooks): java.lang.ClassNotFoundException: org.apache.atlas.hive.hook.HiveHook
- RuntimeError: CUDNN_STATUS_EXECUTION_FAILED [How to Solve]
- [Solved] Execution failed for task ‘:app:checkDebugAarMetadata‘
- [Solved] Execution failed for task ‘:app:mergeDebugJavaResource‘.
- Execution failed for task ‘:app:kaptDebugKotlin‘ [How to Solve]
- [Solved] Cordova Android Compile Error: Execution failed for task ‘:packageDebug‘
- Execution failed for task ‘:app:processDebugMainManifest‘.> Manifest merger failed : Apps targeting
- [Fixed]ERROR: canceling statement due to conflict with recovery
- Android studio Error:Execution failed for task ‘: app:transformResourcesWithMergeJavaResForDebug ‘
- Mybatis error under Springboot project: Invalid bound statement (not found)
- [Solved] Android Studio Compile Error: Execution failed for task ‘:APP_MIDI:lintVitalRelease‘.
- [Solved] Android Error: Execution failed for task ‘:app:mergeReleaseNativeLibs‘.
- [Solved] Execution failed for task ‘:app:processDebugResources‘. > A failure occurred while executing com.and