1. 程式人生 > >SPARK The root scratch dir: /tmp/hive-grip on HDFS should be writable. Current permissions are: rwxr

SPARK The root scratch dir: /tmp/hive-grip on HDFS should be writable. Current permissions are: rwxr

錯誤提示:ERROR scheduler.JobScheduler: Error running job streaming job 1532317741000 ms.0
java.lang.RuntimeException: java.lang.RuntimeException: The root scratch dir: /tmp/hive-grip on HDFS should be writable. Current permissions are: rwxrwxr-x

hdfs dfs -chmod -R 777 /tmp/hive-grip

許可權是所有使用者都可以使用就可以了:rwxrwxrwrx