What does netstat -anp | grep 9000 show? On Mon, Jun 15, 2015 at 3:47 PM, Sateesh Karuturi < sateesh.karutu...@gmail.com> wrote:
> iam using hive 1.0.0 and tez 0.5.2.. whenever iam trying to open the hive > getting following error: > Exception in thread "main" java.lang.RuntimeException: > java.io.IOException: Previous writer likely failed to write > hdfs://localhost:9000/tmp/hive/hadoop/_tez_session_dir/002dad89-59b6-43c9-92f9-1c7b2232b1c4/tez. > 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:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > 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:9000/tmp/hive/hadoop/_tez_session_dir/002dad89-59b6-43c9-92f9-1c7b2232b1c4/tez. > 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 > >