- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Tez Engine is failing while running hive query, with below error. Please help ?
- Labels:
-
Apache Hadoop
-
Apache Hive
-
Apache Tez
Created ‎06-13-2017 05:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hive> SELECT COUNT(*) FROM student;
Query ID = 3d50f624-68eb-48b5-a0c4-33697da38e91
Total jobs = 1
Launching Job 1 out of 1
Tez session was closed. Reopening...
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask
hive>
,
hive> SELECT COUNT(*) FROM student;
Query ID = 3d50f624-68eb-48b5-a0c4-33697da38e91
Total jobs = 1
Launching Job 1 out of 1
Tez session was closed. Reopening...
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask
hive>
Created ‎06-13-2017 03:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can launch hive in a debug session mode to have more info
hive --hiveconf hive.root.logger=INFO,console
Created ‎06-29-2017 06:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check /tmp/hive for hive log and you will see the error stacktrace there.
Created ‎07-01-2017 12:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try changing the execution engine to MR.. Run your query.. If its working fine. Change the execution engine to tez.
this is how you do it.
set hive.execution.engine=mr; set hive.execution.engine=tez;
Created ‎05-14-2018 11:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
are you on hive2? if yes try providing queue name to the host
beeline -u jdbcLhive2://<localhost>:10000?ez.queue.name=<queuename> -n hive -e "select count(*) from student"
