admin管理员组

文章数量:1567570

Ended Job = job_1644913962386_0020 with errors
Error during job, obtaining debugging information...
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
MapReduce Jobs Launched: 
Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec

网上具体有好几种解决方法
我尝试了第一种,我只是需要本地模式即可

建议首先去yarn查看具体报错原因;

第一种方法:
查询发现是Javaf堆内存不足,修改为本地模式OK

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

第二种方法:
有人建议查看hive的jar包路径配置是否正确:

hive (default)> set hive.aux.jars.path;

但是我运行只是返回的是

hive.aux.jars.path is undefined

但是其他博主返回的是

附上博客地址:https://www.freesion/article/11921405139/

如果本地模式出现异常:
百度 (Job running in-process (local Hadoop))
看看这篇文章是否可以帮助你们解决问题
https://blog.csdn/weixin_43918355/article/details/114870731

本文标签: ErrorinsertHivejobinformation