I am getting below error while trying to create external table in Hive from Spark and saving the contents .
The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rw-rw-rw-
I even tried setting permission to /tmp/hive folder to chmod 777 but no success.