hive job执行出错--提示Execution failed with exit status 2

hive命令行日志:

Execution log at: /tmp/hadoop/.log
Job running in-process (local Hadoop)
Hadoop job information for null: number of mappers: 0; number of reducers: 0
2013-09-09 11:23:19,115 null map = 0%,  reduce = 0%
Ended Job = job_local435363684_0001 with errors
Error during job, obtaining debugging information...
Execution failed with exit status: 2
Obtaining error information


Task failed!
Task ID:
  Stage-1


经查发现发现/tmp/hadoop/.log提示java.lang.OutOfMemoryError: Java heap space,原因是namenode内存空间不够,jvm不够新job启动导致。

你可能感兴趣的:(hive job执行出错--提示Execution failed with exit status 2)