zoukankan      html  css  js  c++  java
  • 【Hive】hive改tez引擎后经常报错:Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask

    错误内容

    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>
    

    修改完毕后,同时记得在hdfs集群的/tez下重新上传该配置文件。

    之后重启集群,再进行测试;

  • 相关阅读:
    [JLOI2015] 管道连接
    【知识点】斯坦纳树
    [ZJOI2010] 网络扩容
    【知识点】网络流常见模型
    [NOI2009] 植物大战僵尸
    [NOI2007] 货币兑换
    【知识点】分治相关算法
    [NOI2005] 月下柠檬树
    [HNOI2012] 射箭
    [SDOI2014] 向量集
  • 原文地址:https://www.cnblogs.com/ShadowFiend/p/12877955.html
Copyright © 2011-2022 走看看