"set hive.execution.engine=tez" alone would suffice the Tez configuration for Hive.
Make sure all necessary environmental variables are set properly like TEZ_CONF_DIR, TEZ_JARS, HADOOP_CLASSPATH et al. --Bala G. P.S: For more information: http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1-latest/bk_installing_manually_book/content/rpm-chap-tez-enable_tez_for_hive_queries.html On Wed, Jun 18, 2014 at 10:46 AM, Grandl Robert <[email protected]> wrote: > Not sure whether hive or tez mailing list is the best place to ask. > > Thanks, > robert > > > On Wednesday, June 18, 2014 10:25 AM, Grandl Robert <[email protected]> > wrote: > > > Hi guys, > > I was trying to run hive atop tez atop yarn 2.4. Setting > mapreduce.framework.name to yarn-tez enables tez execution engine and I > can run the orderedwordcount example which comes along tez. > > However, I also installed Hive-0.13. Simply running a hive query still > uses Tez(because it is enabled with mapreduce.framework.name). However, I > am not sure it is completely utilizing Tez API's and stuff. In UI I can see > that a Tez application is running instead of MapReduce. > > But looking on the web, it seems there are other steps to enable Hive > using Tez or MapReduce framework: > > http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.4.0/bk_installing_manually_book/content/rpm-chap-tez-5-4.html > > like setting some HIVE_AUX_JARS_PATH variable, and some properties such > as: > > set hive.use.tez.natively=true; > set hive.execution.engine=tez; ? > > However, following the steps mentioned in the link works only for the case > with disable Tez for Hive queries. > http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.4.0/bk_installing_manually_book/content/rpm-chap-tez-5-5.html > > > Can someone let me know if simply enabling yarn-tez in mapred-site works > fine ? Or what is a proper way to enable it ? (Hive -0.13(compiled from > trunk), Tez - 0.5(compiled from trunk) and Yarn-24(compiled from trunk). > > Thanks, > robert > > >
