Change the repository path in hive-site.xml as follows:
<property>
<name>hive.metastore.warehouse.dir</name>
<value>Your_Path_HERE</value>
<description>location of default database for the warehouse</description>
</property>
Give permission to the directory <Your_Path_HERE>if it is on the local system
sudo chown -R user <Your_Path_HERE>
sudo chmod -R 777 <Your_Path_HERE>
if the given path is on HDFS, then stop and start hadoop services
stop-all.sh
start-all.sh
source
share