hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Harsch <>
Subject Re: Turning on Tez for Hive
Date Thu, 17 Jul 2014 16:34:48 GMT
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:


From: Alexander Alten-Lorenz <<>>
Reply-To: "<>" <<>>,
Alexander Alten-Lorenz <<>>
Date: Wednesday, July 16, 2014 11:27 PM
To: "<>" <<>>
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:

- Alex

------ Originalnachricht ------
Von: "Tim Harsch" <<>>
An: "<>" <<>>
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?


View raw message