錯誤內容
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-stop為false;
<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下重新上傳該配置文件。
之后重啟集群,再進行測試;