hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lefty Leverenz <leftylever...@gmail.com>
Subject Re: Turning on Tez for Hive
Date Thu, 17 Jul 2014 20:56:56 GMT
You might also find useful information in HDP's Hive and HCatalog
installation instructions (section 3.1 "Configure Hive and HiveServer2 for
Tez") here:
http://dev.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP2/HDP-2.1.2/bk_installing_manually_book/content/rpm-chap6-3.html


-- Lefty


On Thu, Jul 17, 2014 at 12:34 PM, Tim Harsch <tharsch@yarcdata.com> wrote:

>  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.null@gmail.com>
> Reply-To: "user@hive.apache.org" <user@hive.apache.org>, Alexander
> Alten-Lorenz <wget.null@gmail.com>
> Date: Wednesday, July 16, 2014 11:27 PM
> To: "user@hive.apache.org" <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" <tharsch@yarcdata.com>
> An: "user@hive.apache.org" <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
>
>

Mime
View raw message