今天在插入数据的时候出现错误:Error during job, obtaining debugging information…
Ended Job = job_1575898012755_0005 with errors Error during job, obtaining debugging information... Examining task ID: task_1575898012755_0005_m_000000 (and more) from job job_1575898012755_0005
Task with the most failures(4):
-----
Task ID: task_1575898012755_0005_m_000000
URL: http://node191:8088/taskdetails.jsp?jobid=job_1575898012755_0005&tipid=task_1575898012755_0005_m_000000
-----
Diagnostic Messages for this Task:
Error: Java heap space
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask MapReduce Jobs Launched: Stage-Stage-1: Map: 1 Cumulative CPU: 5.67 sec HDFS Read: 0 HDFS Write: 0 FAIL
查询发现是Javaf堆内存不足,修改为本地模式OK
set hive.exec.mode.local.auto=true;