AFAIK, it is not necessary to localize tez jars in hive if you have already 
configured tez.lib.uris.

2015-06-24 05:12:50,207 INFO  [main]: tez.DagUtils 
(DagUtils.java:localizeResource(951)) - Localizing resource because it does not 
exist: file:/home/amitkumar/Apache_tez/TEZ/tez-0.7.0 to dest: 
hdfs://localhost:9000/tmp/hive/amitkumar/_tez_session_dir/25e6f3e0-b913-46c8-9d87-83962f1dc073/tez-0.7.0


Best Regard,
Jeff Zhang


From: amit kumar <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, June 25, 2015 at 12:06 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: Error while running Hive queries over tez

I have provided the settings in tez-site.xml.

I run the OrderWordCount job and that runs successfully. The issue happens only 
when i fire a Hive query.

Thanks.

On Wed, Jun 24, 2015 at 12:34 PM, Rajesh Balamohan 
<[email protected]<mailto:[email protected]>> wrote:
Can you provide tez.lib.uris in your setting and the location of tez deployed 
in HDFS?

~Rajesh.B

On Wed, Jun 24, 2015 at 5:49 PM, amit kumar 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I am running Hive with Tez. When I run Hive query below is the exception i am 
facing.

2015-06-24 05:13:15,240 ERROR [main]: exec.Task (TezTask.java:execute(184)) - 
Failed to execute tez graph.
java.io.IOException: Previous writer likely failed to write 
hdfs://localhost:9000/tmp/hive/amitkumar/_tez_session_dir/25e6f3e0-b913-46c8-9d87-83962f1dc073/tez-0.7.0.
 Failing because I am unlikely to write too.
    at 
org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeResource(DagUtils.java:979)
    at 
org.apache.hadoop.hive.ql.exec.tez.DagUtils.addTempResources(DagUtils.java:860)
    at 
org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeTempFilesFromConf(DagUtils.java:803)
    at 
org.apache.hadoop.hive.ql.exec.tez.TezSessionState.refreshLocalResourcesFromConf(TezSessionState.java:228)
    at 
org.apache.hadoop.hive.ql.exec.tez.TezTask.updateSession(TezTask.java:245)
    at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:136)
    at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
    at 
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85)
    at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1604)


Please help me out what can be the issue. When i do fresh setup, Job runs only 
first time after that for each Hive query it shows same error.

Thanks.





--
~Rajesh.B

Reply via email to