I am running a hive query and I got the following error when setting the hive.execution.engine=tez, while the query is working under engine=MR.
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask
My query is an inner join and the data is quite big.
Another thing is that I have met this problem before. But tez works later so I thought it was about something unstable about hive.
Once check your yarn-site.xml with following properties.
While running your HQL via hive include following parameter. This will give you detailed logs and you can determine the root cause easily.
I faced similar problem and above property help me big time.
e.g.: I got following message
When I changed my setting to
11288
, my query went through fine.Hope this will help you.