hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raajay <raaja...@gmail.com>
Subject Re: Running hive on tez locally
Date Fri, 07 Aug 2015 21:50:51 GMT
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 <jdere@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=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 <raajay.v@gmail.com>
> *Sent:* Friday, August 07, 2015 1:06 PM
> *To:* 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
>

Mime
View raw message