java.lang.RuntimeException: The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Vikram Taori, 1 year ago
The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x
via filegala.com by Unknown author, 2 years ago
java.io.IOException: Previous writer likely failed to write hdfs://localhost:9000/tmp/hive/hadoop/_tez_session_dir/cb0e4d15-cdc9-4eb2-8c68-cbf7a526635f/tez. Failing because I am unlikely to write too**.
via hortonworks.com by Unknown author, 1 year ago
java.io.IOException: Previous writer likely failed to write hdfs://localhost:9000/tmp/hive/hadoop/_tez_session_dir/cb0e4d15-cdc9-4eb2-8c68-cbf7a526635f/tez. Failing because I am unlikely to write too.
via hive-user by Sateesh Karuturi, 1 year ago
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.
via hive-user by Sateesh Karuturi, 1 year ago
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.
via Stack Overflow by codin
, 1 year ago
java.net.ConnectException: Call From hadoop/10.2.0.15 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
java.lang.RuntimeException: The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x
at org.apache.hadoop.hive.ql.session.SessionState.createRootHDFSDir(SessionState.java:625)
at org.apache.hadoop.hive.ql.session.SessionState.createSessionDirs(SessionState.java:574)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:689)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:628)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.