Hi Alex,
Thanks for the reply.  I should state I am using vanilla apache hadoop 2.4.0 
and hive 0.13.1 (not Horton works).  And I don't have root access on my pseudo 
distributed hadoop cluster (single node).

I tried your suggestion for a query:

hive> explain select count(*) from web_sales;
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/tez/dag/api/client/StatusGetOpts

I'm thinking I must install Tez separately from source.  And then set the env 
vars and HADOOP_CLASSPATH as per:
http://dev.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP2/HDP-2.1.2/bk_installing_manually_book/content/rpm-chap-tez_configure_tez.html

Tim


From: Alexander Alten-Lorenz <wget.n...@gmail.com<mailto:wget.n...@gmail.com>>
Reply-To: "user@hive.apache.org<mailto:user@hive.apache.org>" 
<user@hive.apache.org<mailto:user@hive.apache.org>>, Alexander Alten-Lorenz 
<wget.n...@gmail.com<mailto:wget.n...@gmail.com>>
Date: Wednesday, July 16, 2014 11:27 PM
To: "user@hive.apache.org<mailto:user@hive.apache.org>" 
<user@hive.apache.org<mailto:user@hive.apache.org>>
Subject: Re: Turning on Tez for Hive

Just use the execution engine, can be done per Hive query too:
hive > set hive.execution.engine=tez;
hive > select count (*) from what_ever;

If you want to use HS2 with Tez, follow the documentation here:
http://dev.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP2/HDP-2.1.2/bk_installing_manually_book/content/rpm-chap-tez-configure_hive_for_tez.html

- Alex

------ Originalnachricht ------
Von: "Tim Harsch" <thar...@yarcdata.com<mailto:thar...@yarcdata.com>>
An: "user@hive.apache.org<mailto:user@hive.apache.org>" 
<user@hive.apache.org<mailto:user@hive.apache.org>>
Gesendet: 17.07.2014 01:09:07
Betreff: Turning on Tez for Hive

Hi all,
Is there a wiki page somewhere that shows how to turn on Tez for Hive?

I found "hive.execution.engine" in hive-default.xml.template.  But I'm sure 
there must be more.  Do I have to install Tez separately?

Thanks,
Tim

Reply via email to