[ https://issues.apache.org/jira/browse/HIVE-19014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423295#comment-16423295 ]
Thejas M Nair commented on HIVE-19014: -------------------------------------- bq. any comment on the SessionState.getUserFromAuthenticator() vs SessionState.getUserName() That needs some cleanup. As of now, hive code is using both in different places. The main difference is that SessionState.getUserFromAuthenticator() lets you configure something like SessionStateConfigUserAuthenticator as the authenticator, which can be used to switch usernames within a .q file. When the cleanup is done, we should be able to replace all uses of the api calls with one of them. Usage in this patch is fine. > utilize YARN-8028 (queue ACL check) in Hive Tez session pool > ------------------------------------------------------------ > > Key: HIVE-19014 > URL: https://issues.apache.org/jira/browse/HIVE-19014 > Project: Hive > Issue Type: Bug > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Priority: Major > Attachments: HIVE-19014.01.patch, HIVE-19014.02.patch, > HIVE-19014.03.patch, HIVE-19014.04.patch, HIVE-19014.patch > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)