Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

/tmp/hive permission keep updating as per user jobs.

New Contributor

/tmp/hive/ permission keep changing according to user job execution. Initially if it is with hive permissions for first job execution and it is chaning permission to 2nd job say as solr after completing 1st job.

1 REPLY 1

Expert Contributor

@Raghav Mp

HDFS root scratch directory for Hive jobs, which gets created with write all (733) permission. For each connecting user, an HDFS scratch directory ${hive.exec.scratchdir}/ is created with ${hive.scratch.dir.permission}.

To fix this issue, you can set below property in hive-site.xml, this is used for setting values for the entire Hive configuration

 <property>
<name>hive.exec.scratchdir</name>
<value>/tmp/hive</value>
<description>Scratch space for Hive jobs</description> </property>

For more detail: https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration

Please accept the answer you found most useful.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.