I have my HADOOP_CLASSPATH set to point to both $TEZ_HOME/* and $TEZ_HOME/lib/*. Also have TEZ_H0ME and TEZ_CONF_DIR set, though I'm not sure if these are required or not.?
________________________________ From: Raajay <raaja...@gmail.com> Sent: Friday, August 07, 2015 2:50 PM To: user@hive.apache.org Subject: Re: Running hive on tez locally Thanks for the configs. When I run hive it crashes because TEZ libraries were not found. How do I point Hive to tez libraries? Is it sufficient to populate CLASSPATH environment variables with location of tez libraries ? Raajay On Fri, Aug 7, 2015 at 3:16 PM, Jason Dere <jd...@hortonworks.com<mailto:jd...@hortonworks.com>> wrote: If you add these settings (paths are up to you), you can run Hive with Tez in local mode. You'll also need to make sure your classpath has the Tez libs etc. set hive.user.install.directory=file:///tmp; set fs.default.name<http://fs.default.name>=file:///; set fs.defaultFS=file:///; set tez.staging-dir=/tmp; set tez.ignore.lib.uris=true; set tez.runtime.optimize.local.fetch=true; set tez.local.mode=true; set hive.execution.engine=tez;? ? ________________________________ From: Raajay <raaja...@gmail.com<mailto:raaja...@gmail.com>> Sent: Friday, August 07, 2015 1:06 PM To: user@hive.apache.org<mailto:user@hive.apache.org> Subject: Running hive on tez locally I have been running Hive queries on a single node (no HDFS). I realize that the queries get compiled as map-reduce jobs and not as TEZ jobs even though "hive.execution.engine=tez" is set. Is that expected ? If yes, what is the ideal environment for debugging hive on tez? Raajay