Created 01-28-2016 12:49 AM
To run Hive query file from Linux Terminal
$hive -f query1.txt
How to run using Tez execution engine?
Created 01-28-2016 12:51 AM
Created 01-28-2016 12:51 AM
Created on 01-28-2016 12:52 AM - edited 08-19-2019 03:59 AM
You can see the setting under in Ambari under Hive Configs
Created 01-28-2016 04:11 AM
@Neeraj Sabharwal How to select the best answer? I am new bee...
Created 01-28-2016 04:14 AM
Created 02-10-2016 02:05 PM
@Vidya SK Please choose the best answer to close the thread
Created 01-28-2016 12:57 AM
You can try this way
$hive -hiveconf hive.execution.engine=tez -f query1.txt
(or)
inside query1.txt, you can provide
set hive.execution.engine=tez
Alternatively you can change hive-site.xml to use tez as default execution engine.
Regards
Pranay
Created 01-28-2016 01:07 AM
Thanks Neeraj, Pranay.
Created 01-28-2016 01:20 AM
@Vidya SK As a part of the best practices, please accept the best answer to close the thread.