[ https://issues.apache.org/jira/browse/HIVE-4315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631989#comment-13631989 ]
Ashutosh Chauhan commented on HIVE-4315: ---------------------------------------- I think {{if(isSecureImpl)}} is not required. Also, it will be pretty hard to write a testcase for this, so can you describe in a bit more detail the setup and query where this might manifest. Using that description, if someone later hits this same bug and search jiras, they will know which hive version contains this fix. > enable doAs in unsecure mode for hive server2, when MR job runs locally > ----------------------------------------------------------------------- > > Key: HIVE-4315 > URL: https://issues.apache.org/jira/browse/HIVE-4315 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Fix For: 0.11.0 > > Attachments: HIVE-4315.1.patch > > > When MR job is run locally by hive (instead of hadoop cluster), the MR job > ends up running as hiveserver user instead of the user submitting the query, > even if doAs configuration is enabled. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira