Support Questions
Find answers, ask questions, and share your expertise

/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.


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

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

<description>Scratch space for Hive jobs</description> </property>

For more detail:

Please accept the answer you found most useful.