You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ravi Teja Chilukuri (JIRA)" <ji...@apache.org> on 2017/04/06 07:13:41 UTC

[jira] [Created] (HIVE-16398) [Hive on Tez] Jar Localization issues

Ravi Teja Chilukuri created HIVE-16398:
------------------------------------------

             Summary: [Hive on Tez] Jar Localization issues
                 Key: HIVE-16398
                 URL: https://issues.apache.org/jira/browse/HIVE-16398
             Project: Hive
          Issue Type: Bug
          Components: Tez
    Affects Versions: 2.1.0
            Reporter: Ravi Teja Chilukuri
            Priority: Minor


The jar localization fails with the following error in these cases

1) If a jar is already present in the classpath and is added again via aux.jars or using add jar command by the user.
2) If the jar is missing- Ideally it should ignore or either throw a error/warning stating jar not found.
3) When a  "*" is present in some of the classpath entries, it will try to replicate the same * path on hdfs and fails.  



Error:
Total jobs = 1
Launching Job 1 out of 1
Exception in thread "Thread-17" java.lang.RuntimeException: java.io.IOException: Previous writer likely failed to write hdfs://clstr1/tmp/hive/adhoc-hive-user/_tez_session_dir/edd821a7-d4f5-4980-b693-6b9c17ac4257/hadoop-4mc-1.1.0.jar. Failing because I am unlikely to write too.
	at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:617)
	at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:526)
	at org.apache.hadoop.hive.ql.exec.TaskRunner.run(TaskRunner.java:78)
Caused by: java.io.IOException: Previous writer likely failed to write hdfs://clstr1/tmp/hive/adhoc-hive-user/_tez_session_dir/edd821a7-d4f5-4980-b693-6b9c17ac4257/hadoop-4mc-1.1.0.jar. Failing because I am unlikely to write too.
	at org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeResource(DagUtils.java:1020)
	at org.apache.hadoop.hive.ql.exec.tez.DagUtils.addTempResources(DagUtils.java:900)
	at org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeTempFilesFromConf(DagUtils.java:843)
	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.refreshLocalResourcesFromConf(TezSessionState.java:451)
	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.openInternal(TezSessionState.java:247)
	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:222)
	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:189)
	at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:612)
	... 2 more
FAILED: Execution Error, return code -1 from org.apache.hadoop.hive.ql.exec.tez.TezTask



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)