Created 06-13-2017 05:25 AM
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
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
Check /tmp/hive for hive log and you will see the error stacktrace there.
Created 07-01-2017 12:53 PM
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
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"