• 为了保证你在浏览本网站时有着更好的体验,建议使用类似Chrome、Firefox之类的浏览器~~
    • 如果你喜欢本站的内容何不Ctrl+D收藏一下呢,与大家一起分享各种编程知识~
    • 本网站研究机器学习、计算机视觉、模式识别~当然不局限于此,生命在于折腾,何不年轻时多折腾一下

HIVE错误return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask解决方法

Sql admin 10个月前 (12-13) 1701次浏览 0个评论 扫描二维码

今天在执行一个 hive 查询语句报下面错误:
MapReduce Total cumulative CPU time: 0 days 1 hours 0 minutes 8 seconds 970 msec
Ended Job = job_1511596090231_19002 with errors
Error during job, obtaining debugging information…
Examining task ID: task_1511596090231_19002_m_000013 (and more) from job job_1511596090231_19002
Examining task ID: task_1511596090231_19002_m_000061 (and more) from job job_1511596090231_19002
Examining task ID: task_1511596090231_19002_m_000043 (and more) from job job_1511596090231_19002
Examining task ID: task_1511596090231_19002_m_000064 (and more) from job job_1511596090231_19002
Examining task ID: task_1511596090231_19002_m_000051 (and more) from job job_1511596090231_19002
Examining task ID: task_1511596090231_19002_m_000053 (and more) from job job_1511596090231_19002
Examining task ID: task_1511596090231_19002_m_000030 (and more) from job job_1511596090231_19002
Examining task ID: task_1511596090231_19002_m_000028 (and more) from job job_1511596090231_19002
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

出现问题的原因是分配的分区超出了设置,可以在当亲的会话中修改临时配置

set hive.exec.max.dynamic.partitions.pernode=500;


Deeplearn, 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明HIVE 错误 return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask 解决方法
喜欢 (4)
admin
关于作者:

您必须 登录 才能发表评论!