共计 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;