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

28,655次阅读
没有评论

共计 1043 个字符,预计需要花费 3 分钟才能阅读完成。

今天在执行一个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;

正文完
请博主喝杯咖啡吧!
post-qrcode
 
admin
版权声明:本站原创文章,由 admin 2017-12-13发表,共计1043字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)
验证码