[ https://issues.apache.org/jira/browse/HIVE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797662#comment-13797662 ]
Prasad Mujumdar commented on HIVE-5486: --------------------------------------- right, that works for the kerberos impersonation, but not the non-kerberos case it uses the common scratch directory. I didn't mention that explicitly, my bad. > HiveServer2 should create base scratch directories at startup > ------------------------------------------------------------- > > Key: HIVE-5486 > URL: https://issues.apache.org/jira/browse/HIVE-5486 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 0.11.0, 0.12.0 > Reporter: Prasad Mujumdar > Assignee: Prasad Mujumdar > Attachments: HIVE-5486.2.patch, HIVE-5486.3.patch > > > With impersonation enabled, the same base directory is used by all > sessions/queries. For a new deployment, this directory gets created on first > invocation by the user running that session. This would cause directory > permission conflict for other users. > HiveServer2 should create the base scratch dirs if it doesn't exist. -- This message was sent by Atlassian JIRA (v6.1#6144)