Hive does not have sufficient permissions to access HDFS
When I tried to enter hive, I got the following error
hive/warehouse on HDFS should be writable. Current permissions are: rwxrwxr-x
I try HDFS DFS - Chmod 777 / user / hive / warehouse to solve this problem, but it is not safe. Do you have the minimum permissions to access HDFS
Hi,
Whats your environment?
Have you tried use hive?
I have executed the following commands:
$HADOOP_ HOME/bin/hdfs dfs -mkdir /tmp $HADOOP_ HOME/bin/hdfs dfs -mkdir -p /user/hive/warehouse $HADOOP_ HOME/bin/hdfs dfs -chmod g+w /tmp $HADOOP_ HOME/bin/hdfs dfs -chmod g+w /user/hive/warehouse
But when I entered the hive interactive interface, I got the following error report hive/warehouse on HDFS should be writable. Current permissions are: rwxrwxr-x