Skip to content

Instantly share code, notes, and snippets.

@bsao
Created January 26, 2016 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsao/bdfed1246138f8ba97c3 to your computer and use it in GitHub Desktop.
Save bsao/bdfed1246138f8ba97c3 to your computer and use it in GitHub Desktop.
problem
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rwx--x--x
solve
./ephemeral-hdfs/bin/hadoop fs -chmod 777 /tmp
./ephemeral-hdfs/bin/hadoop fs -chmod 777 /tmp/hive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment