incubator-ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangwei" <>
Subject Re: enable Tez for Hive query problem
Date Mon, 12 Aug 2013 06:28:05 GMT
Hi , Hitesh

         Thank you very much ! You are right , I lost this instructions.
But after that I got another exception : "Caused by: org.xml.sax.SAXParseException: The processing
instruction target matching "[xX][mM][lL]" is not allowed.
        at javax.xml.parsers.DocumentBuilder.parse(
        at org.apache.hadoop.conf.Configuration.parse(
        at org.apache.hadoop.conf.Configuration.parse(
        at org.apache.hadoop.conf.Configuration.loadResource(
        ... 24 more
[Fatal Error] tez-site.xml:2:6: The processing instruction target matching "[xX][mM][lL]"
is not allowed.
FAILED: Hive Internal Error: java.lang.RuntimeException(org.xml.sax.SAXParseException: The
processing instruction target matching "[xX][mM][lL]" is not allowed.)

I also want to know how to set hive.use.tez.natively = true as default.

Thanks for you good help~!
Best regards!   

----- Original Message ----- 
From: "Hitesh Shah" <>
To: <>
Sent: Monday, August 12, 2013 12:42 PM
Subject: Re: enable Tez for Hive query problem


I think this shows up when hive.use.tez.natively has not been set to true. Could you let us
know if you set that before running the count(*) query? You are likely to get more help on
[dev|user] for tez specific questions.

-- Hitesh

On Aug 11, 2013, at 7:49 PM, zhangwei wrote:

> Hi , All,
>        Has anybody used Tez for Hive?  I followed
 this instructions to enable Tez for Hive query, 
> after I set "export HIVE_AUX_JARS_PATH="/usr/lib/hcatalog/share/hcatalog/hcatalog-core.jar:$TEZ_CONF_DIR:$TEZ_INSTALL_DIR/*:$TEZ_INSTALL_DIR/lib/*"
> I exexute "select count(*) from table", 
> I got 
> "Job Submission failed with exception ' file:/usr/lib/hcatalog/share/hcatalog/hcatalog-core.jar:/etc/tez/conf/:/usr/lib/tez/*:/usr/lib/tez/lib/*
does not exist)' FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapReduceImpl"
> I checked all the paths are right.
> Could anybody tell me what's the problem?

View raw message