Error applying authorization policy on hive configuration: Couldn't create directory ${system:java.io.tmpdir}\${hive.session.id}_resources Error applying authorization policy on hive configuration: Couldn't create directory ${system:java.io.tmpdir}\${hive.session.id}_resources hadoop hadoop

Error applying authorization policy on hive configuration: Couldn't create directory ${system:java.io.tmpdir}\${hive.session.id}_resources


replace this particular configuration in your hive-site.xml

<value>${system:java.io.tmpdir}/${hive.session.id}_resources</value>

replace with

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