admin管理员组

文章数量:1638801

报错:
Error during job, obtaining debugging information...
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

解决:
失败原因
经查发现发现/tmp/hadoop/.log提示java.lang.OutOfMemoryError: Java heap space,原因是namenode内存空间不够,jvm不够新job启动导致。

解决方法
将你的hive可以设置成本地模式来执行任务试试:

set hive.exec.mode.local.auto=true;

一劳永逸:

在hive-site.xml 文件添加配置

<property>  
  <name>hive.exec.mode.local.auto</name>  
  <value>true</value>  
</property> 

本文标签: debugginginformationobtainingErrorjob