Error during job, obtaining debugging information... FAILED: Execution Error, return code 2 from org
生活随笔
收集整理的這篇文章主要介紹了
Error during job, obtaining debugging information... FAILED: Execution Error, return code 2 from org
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題
解決
失敗原因
經查發現發現/tmp/hadoop/.log提示java.lang.OutOfMemoryError: Java heap space,原因是namenode內存空間不夠,jvm不夠新job啟動導致。
解決方法
將你的hive可以設置成本地模式來執行任務試試:
set hive.exec.mode.local.auto=true;
一勞永逸:
在hive-site.xml 文件添加配置
<property> <name>hive.exec.mode.local.auto</name> <value>true</value> </property> 與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的Error during job, obtaining debugging information... FAILED: Execution Error, return code 2 from org的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 极客马拉松JUNCTION✖️TIANJ
- 下一篇: Linux:CentOS7防火墙基本操作