[ 
https://issues.apache.org/jira/browse/HIVE-4315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633653#comment-13633653
 ] 

Hudson commented on HIVE-4315:
------------------------------

Integrated in Hive-trunk-h0.21 #2067 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/2067/])
    HIVE-4315 : enable doAs in unsecure mode for hive server2, when MR job runs 
locally (Thejas Nair via Ashutosh Chauhan) (Revision 1468438)

     Result = FAILURE
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1468438
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MapredLocalTask.java

                
> 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, HIVE-4315.2.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.
> In case of map-side join (see [map join 
> optimization|https://cwiki.apache.org/confluence/display/Hive/MapJoinOptimization])
>  , MapredLocalTask is spawned in child process to process the map-side file 
> before adding it to distributed cache. When hive.server2.enable.doAs is 
> enabled, MapredLocalTask should run as the user submitting the query. But by 
> default, in case of unsecure (ie without kerberos security) mode hadoop 
> considers user the process runs as the user.

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

Reply via email to