hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sateesh Karuturi <sateesh.karutu...@gmail.com>
Subject Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Previous writer likely failed to write hdfs://localhost:8020/tmp/hive/hadoop/_tez_session_dir/39ba9c15-d9ed-4582-a4ce-11ae8bc586b7/mysql-connector-java-5.1.35-bin.jar. Failing because I am unlikely to write too.
Date Thu, 04 Jun 2015 06:35:31 GMT
I am using *hive 1.0.0* and *apache tez 0.5.2* When I configure hive to use
tez I get an exception.

In *hive-site.xml* when the *hive.execution.engine* value is mr its works
fine. But if I set it to tez I get this error:


Exception in thread "main" java.lang.RuntimeException: java.io.IOException:
Previous writer likely failed to write
hdfs://localhost:8020/tmp/hive/hadoop/_tez_session_dir/39ba9c15-d9ed-4582-a4ce-11ae8bc586b7/mysql-connector-java-5.1.35-bin.jar.
Failing because I am unlikely to write too.

at
org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:457)

at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:626)

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)

Caused by: java.io.IOException: Previous writer likely failed to write
hdfs://localhost:8020/tmp/hive/hadoop/_tez_session_dir/39ba9c15-d9ed-4582-a4ce-11ae8bc586b7/mysql-connector-java-5.1.35-bin.jar.
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.TezSessionState.open(TezSessionState.java:154)

at
org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:122)

at
org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:454)

... 8 more

Mime
View raw message