Hi ?Ayazur, Start hiveserver2 with the parameter as mentioned in the below link "$HIVE_HOME/bin/hive --service hiveserver2 --hiveconf hive.execution.engine=tez".
https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-HowtoStart? An alternative way would be to set this property value in $HIVE_HOME/conf/hive-site.xml (which would affect both hive shell and hiveserver2) or just hiveserver2-site.xml alone (if you still want mr to as default engine in hive shell) Thanks Hari ________________________________ From: Ayazur Rehman <rehman.ayazu...@gmail.com> Sent: Wednesday, June 10, 2015 3:13 PM To: user@hive.apache.org Subject: Re: switching default execution engine for hiveserver2 Yes, I know about the parameter. I have the default hive execution engine as Tez for commands that run through the hive shell. However,the commands through the hiveserver2 don't execute on Tez. Where should I update the parameter for hiveserver2? On Wed, Jun 10, 2015 at 6:03 PM, Lefty Leverenz <leftylever...@gmail.com<mailto:leftylever...@gmail.com>> wrote: Do you know about the configuration parameter hive.execution.engine<https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.execution.engine>? -- Lefty On Wed, Jun 10, 2015 at 7:25 AM, Ayazur Rehman <rehman.ayazu...@gmail.com<mailto:rehman.ayazu...@gmail.com>> wrote: how to make the default execution engine as Tez while running hive queries through hiveserver2 -- Thanking You, Ayazur Rehman +1 720 917 8540<tel:%2B1%20720%20917%208540> -- Thanking You, Ayazur Rehman +1 720 917 8540