Your log aggregation is not enabled, so you may need to look at the log on node 
managers. By default it is located in ${HADOOP_HOME}/logs


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 9:24 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: hive on tez error

hadoop@localhost:~$ yarn logs -applicationId application_1433913377715_0003
15/06/10 17:40:04 INFO client.RMProxy: Connecting to ResourceManager at 
/0.0.0.0:8032<http://0.0.0.0:8032>
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/usr/local/hadoop/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/usr/local/hadoop/apache-tez-0.5.2-src/tez-dist/target/tez/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
/tmp/logs/hadoop/logs/application_1433913377715_0003does not exist.
Log aggregation has not completed or is not enabled.


On Wed, Jun 10, 2015 at 6:49 PM, Jianfeng (Jeff) Zhang 
<[email protected]<mailto:[email protected]>> wrote:
And seems you run this command from hive. Actually you should run it from bash.

BTW, by default hive log is located in 
/tmp/{user.name<http://user.name>}/hive.log



Best Regard,
Jeff Zhang


From: Jianfeng Zhang <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, June 10, 2015 at 9:09 PM

To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: hive on tez error

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