[ https://issues.apache.org/jira/browse/HIVE-7116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14007780#comment-14007780 ]
Vikram Dixit K commented on HIVE-7116: -------------------------------------- Although not strictly required in this case, it makes sense to have the finally block do both the close and reset of the configuration flag. Updated. > HDFS FileSystem object cache causes permission issues in creating tmp > directories > --------------------------------------------------------------------------------- > > Key: HIVE-7116 > URL: https://issues.apache.org/jira/browse/HIVE-7116 > Project: Hive > Issue Type: Bug > Components: HiveServer2, Tez > Affects Versions: 0.13.0 > Reporter: Vikram Dixit K > Assignee: Vikram Dixit K > Attachments: HIVE-7116.1.patch, HIVE-7116.2.patch, HIVE-7116.3.patch > > > We change permissions of the directory creation to 777 for HiveServer 2 > operation and it turns out that because of HDFS caching, it does not reflect > once created. We need to use the non-cached version of the API to get a > FileSystem object to fix this. -- This message was sent by Atlassian JIRA (v6.2#6252)