Not able to start hive from any other location other than $HIVE_HOME Not able to start hive from any other location other than $HIVE_HOME hadoop hadoop

Not able to start hive from any other location other than $HIVE_HOME


I figure out the answer by editing hive-site.xml

<property><name>hive.downloaded.resources.dir</name><value>$/tmp/${hive.session.id}_resources</value><description>Temporary local directory for added resources in the remote file system.</description>

and changed it to

<property><name>hive.downloaded.resources.dir</name><value>/home/hduser/hive/tmp/${hive.session.id}_resources</value><description>Temporary local directory for added resources in the remote file system.</description>

And Problem is solved