Hive中运行任务报错:Error during job, obtaining debugging information...

Hive中运行任务报错:Error during job, obtaining debugging information...

错误原因:

namenode内存空间不够,JVM剩余内存空间不够新job运行所致

解决办法:

将hive设置成本地模式来执行任务   set hive.exec.mode.local.auto=true;