0 votes
1 view
in Big Data Hadoop & Spark by (37.9k points)
Access denied on my Hive, can anyone help?

1 Answer

0 votes
by (16.8k points)

You must run the below command on terminal to fix it.

# sudo -u hdfs hadoop fs -mkdir /user/hive/warehouse

# sudo -u hdfs hadoop fs -chmod g+w /tmp

# sudo -u hdfs hadoop fs -chmod g+w /user/hive/warehouse

# sudo -u hdfs hadoop fs -chown -R training /user/hive/warehouse

# sudo chmod 777 /var/lib/hive/metastore

# cd /var/lib/hive/metastore/metastore_db/

# sudo rm *.lck

# cd

# hive

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...