hadoop_20150610170505_7dbb99e1-1d69-45f0-b1af-87452061bf39 is not yarn app log.
It should be something like this format application_1433831838406_0002. Please 
try to look at the hive log to the app id. If still could not find it, then 
please refer to the Resource Manager UI.



Best Regard,
Jeff Zhang


From: Sateesh Karuturi 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, June 10, 2015 at 7:51 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: hive on tez error

yarn logs -applicationId 
hadoop_20150610170505_7dbb99e1-1d69-45f0-b1af-87452061bf39;
NoViableAltException(26@[])
at org.apache.hadoop.hive.ql.parse.HiveParser.statement(HiveParser.java:1015)
at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:199)
at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:166)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:389)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:303)
at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1067)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1129)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1004)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:994)
at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:201)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:153)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:364)
at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:712)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:631)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:570)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
FAILED: ParseException line 1:1 cannot recognize input near 'yarn' 'logs' '-'
hive>


On Wed, Jun 10, 2015 at 4:28 PM, Prakash Ramachandran 
<[email protected]<mailto:[email protected]>> wrote:
You need to replace <appId> with your applicationId
Ex. yarn logs -applicationId application_1432137758849_0029

From: Sateesh Karuturi
Reply-To: "[email protected]<mailto:[email protected]>"
Date: Wednesday, June 10, 2015 at 2:40 PM
To: "[email protected]<mailto:[email protected]>"

Subject: Re: Re: hive on tez error

bash: syntax error near unexpected token `newline'


On Wed, Jun 10, 2015 at 2:38 PM, [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> wrote:
sorry, the command is
yarn logs -applicationId <appId>

________________________________
[email protected]<mailto:[email protected]>

From: [email protected]<mailto:[email protected]>
Date: 2015-06-10 17:06
To: user<mailto:[email protected]>
Subject: Re: Re: hive on tez error
check log

yarn -logs applicationId

________________________________
[email protected]<mailto:[email protected]>

From: Sateesh Karuturi<mailto:[email protected]>
Date: 2015-06-10 17:10
To: user<mailto:[email protected]>
Subject: Re: Re: hive on tez error
<configuration>
  <property>
    <name>tez.lib.uris</name>
    <value>${fs.defaultFS}/tez,${fs.defaultFS}/tez/lib</value>
  </property>
</configuration>


On Wed, Jun 10, 2015 at 2:02 PM, [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> wrote:
show me tez-site.xml?

________________________________
[email protected]<mailto:[email protected]>

From: Sateesh Karuturi<mailto:[email protected]>
Date: 2015-06-10 16:50
To: user<mailto:[email protected]>
Subject: Re: hive on tez error
tez 0.5.2

On Wed, Jun 10, 2015 at 1:49 PM, [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> wrote:
tez version??

________________________________
[email protected]<mailto:[email protected]>

From: Sateesh Karuturi<mailto:[email protected]>
Date: 2015-06-10 16:09
To: user<mailto:[email protected]>
Subject: hive on tez error
whenever iam perform a simple insert operation on hive 
1.0.0(hive.execution.engine=tez) its shows following error:

FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.tez.TezTask

when i changed "hive.execution.engine" to mr its working fine.

please help me out




Reply via email to