Created 04-20-2016 08:28 PM
We're working on a data preparation phase with Hive and Tez. We're experiencing the following error:
Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask. Session stats:submittedDAGs=0, successfulDAGs=0, failedDAGs=0, killedDAGs=0 (state=08S01,code=2)
We're using HDP 2.3.2 with Hive 1.2.1 using ORC format and Tez engine.
Does anyone already found this error?
Created 04-21-2016 04:57 AM
I'm suspecting this issue is related to below apache jira tickets:
https://issues.apache.org/jira/browse/HIVE-10929
https://issues.apache.org/jira/browse/HIVE-11313
This issue should be fixed in tez version 1.2.1
If you run same query with "mr" as hive.execution.engine then it should run fine.
Created 04-20-2016 09:17 PM
Hi Andrea. Could you post the UNION ALL query you are executing along with the DDL for the tables involved? (via 'Show create table <tblname>')? That would help the debugging...
Created 04-21-2016 07:59 PM
Hi ,
it could be a compliance issue posting the DDL and query in public. If you can send me an email I can send you the DDL in private.
Thanks,
Andrea
Created 04-22-2016 06:07 PM
Hi Andrea. I suspect the issue is as Kuldeep mentioned... But please do send the DDL and query - I would be glad to try to recreate it. bpreachuk@hortonworks.com
Created 04-21-2016 04:57 AM
I'm suspecting this issue is related to below apache jira tickets:
https://issues.apache.org/jira/browse/HIVE-10929
https://issues.apache.org/jira/browse/HIVE-11313
This issue should be fixed in tez version 1.2.1
If you run same query with "mr" as hive.execution.engine then it should run fine.
Created 04-21-2016 08:02 PM
We've just made a lot of tests: we do not have null value and we already use Hive 1.2.1. We also tried to delete partition from the tables involved in the queries but we always got the same error.
Created 04-21-2016 09:16 AM
Thanks! Do you know when Tez 1.2.1 will be released? It's planned for HDP 2.4.2?
Created 04-22-2016 06:41 AM
@Andrea D'Orio - I'm checking, will get back to you
Created 08-03-2016 05:04 AM
The issue can be resolved in lower versions also by using the distribute by keyword in the query