Actually those links don't quite match your component versions. (Close, but they're for Hive 0.13.0 instead of 0.13.1.) The HDP-2.1.3 docs <http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1-latest/bk_releasenotes_hdp_2.1/content/ch_relnotes-hdp-2.1.3-product.html> cover Hadoop 2.4.0, Hive 0.13.1, and Tez 0.4.0. Here are the Tez setup links:
- Set Up the Hive/HCatalog Configuration Files <http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1.3/bk_installing_manually_book/content/rpm-chap6-3.html> (see 3.1 Configure Hive and HiveServer2 for Tez, which includes the configuration information that the previous links found in the Tez chapter) - Installing and Configuring Apache Tez <http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1.3/bk_installing_manually_book/content/rpm-chap-tez.html> (see 10.4 Enable Tez for Hive Queries <http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1.3/bk_installing_manually_book/content/rpm-chap-tez-enable_tez_for_hive_queries.html> ) -- Lefty On Thu, Jul 17, 2014 at 4:56 PM, Lefty Leverenz <leftylever...@gmail.com> wrote: > 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 <thar...@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.n...@gmail.com> >> Reply-To: "user@hive.apache.org" <user@hive.apache.org>, Alexander >> Alten-Lorenz <wget.n...@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" <thar...@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 >> >> >