【Hive】hive改tez引擎后经常报错:Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask

时间:2020-05-12 19:24:53   收藏:0   阅读:1540

错误内容

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask

解决方式

修改tez的配置文件

[ssrs@hadoop111 conf]$ pwd
/opt/module/tez-0.9.1/conf
[ssrs@hadoop111 conf]$ ll
总用量 68
-rw-r--r--. 1 ssrs ssrs 51028 5月   9 01:09 tez-default-template.xml
-rw-r--r--. 1 ssrs ssrs 12935 12月 13 2017 tez-runtime-default-template.xml
[ssrs@hadoop111 conf]$ vi tez-default-template.xml

修改tez-default-template.xml中的tez.client.asynchronous-stopfalse

  <property>
    <name>tez.client.asynchronous-stop</name>
    <defaultValue>false</defaultValue>
    <description>Boolean value. Backwards compatibility setting. Changes TezClient stop to be a
 synchronous call waiting until AM is in a final state before returning to the user.
 Expert level setting.</description>
    <type>boolean</type>
  </property>

修改完毕,建议重启集群,再进行测试;

原文:https://www.cnblogs.com/ShadowFiend/p/12877955.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!