You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Mayank Bansal (Created) (JIRA)" <ji...@apache.org> on 2011/12/21 22:49:31 UTC

[jira] [Created] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

MAPREDUCE Impersonation is not working in 22
--------------------------------------------

                 Key: MAPREDUCE-3593
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: job submission
    Affects Versions: 0.22.0
            Reporter: Mayank Bansal
            Assignee: Mayank Bansal




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

Posted by "Mayank Bansal (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183085#comment-13183085 ] 

Mayank Bansal commented on MAPREDUCE-3593:
------------------------------------------

All tests are passed for 22 branch.
                
> MAPREDUCE Impersonation is not working in 22
> --------------------------------------------
>
>                 Key: MAPREDUCE-3593
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.22.0
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>             Fix For: 0.22.1
>
>         Attachments: MAPREDUCE-3593.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

Posted by "Mayank Bansal (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176790#comment-13176790 ] 

Mayank Bansal commented on MAPREDUCE-3593:
------------------------------------------

Please ignore the above comment by Hadoop QA as this patch is only for 22
                
> MAPREDUCE Impersonation is not working in 22
> --------------------------------------------
>
>                 Key: MAPREDUCE-3593
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.22.0
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>             Fix For: 0.22.1
>
>         Attachments: MAPREDUCE-3593.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

Posted by "Konstantin Shvachko (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183011#comment-13183011 ] 

Konstantin Shvachko commented on MAPREDUCE-3593:
------------------------------------------------

+1 The patch looks good to me. 
Mayank could you please comment on the status of test run. I will commit it if everything passed.
                
> MAPREDUCE Impersonation is not working in 22
> --------------------------------------------
>
>                 Key: MAPREDUCE-3593
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.22.0
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>             Fix For: 0.22.1
>
>         Attachments: MAPREDUCE-3593.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

Posted by "Mayank Bansal (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174443#comment-13174443 ] 

Mayank Bansal commented on MAPREDUCE-3593:
------------------------------------------

In Hadoop 22 when we try to submit job using proxy users, while proxy user tries to impersonate other users based on core-site.xml configuration, It is failing due to permission issues for the staging directory. The problem is job is submitted using proxy user, it is not able to impersonate as the actual user.
                
> MAPREDUCE Impersonation is not working in 22
> --------------------------------------------
>
>                 Key: MAPREDUCE-3593
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.22.0
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183773#comment-13183773 ] 

Hudson commented on MAPREDUCE-3593:
-----------------------------------

Integrated in Hadoop-Mapreduce-22-branch #97 (See [https://builds.apache.org/job/Hadoop-Mapreduce-22-branch/97/])
    MAPREDUCE-3593. Fix user impersonation. Contributed by Mayank Bansal.

shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1229749
Files : 
* /hadoop/common/branches/branch-0.22/mapreduce/CHANGES.txt
* /hadoop/common/branches/branch-0.22/mapreduce/src/java/org/apache/hadoop/mapreduce/Cluster.java
* /hadoop/common/branches/branch-0.22/mapreduce/src/java/org/apache/hadoop/mapreduce/Job.java

                
> MAPREDUCE Impersonation is not working in 22
> --------------------------------------------
>
>                 Key: MAPREDUCE-3593
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.22.0
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>             Fix For: 0.22.1
>
>         Attachments: MAPREDUCE-3593.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

Posted by "Konstantin Shvachko (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated MAPREDUCE-3593:
-------------------------------------------

          Resolution: Fixed
    Target Version/s: 0.22.1  (was: 0.22.1, 0.22.0)
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

I just committed this. Thank you Mayank.
                
> MAPREDUCE Impersonation is not working in 22
> --------------------------------------------
>
>                 Key: MAPREDUCE-3593
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.22.0
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>             Fix For: 0.22.1
>
>         Attachments: MAPREDUCE-3593.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

Posted by "Mayank Bansal (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mayank Bansal updated MAPREDUCE-3593:
-------------------------------------

    Attachment: MAPREDUCE-3593.patch
    
> MAPREDUCE Impersonation is not working in 22
> --------------------------------------------
>
>                 Key: MAPREDUCE-3593
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.22.0
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>             Fix For: 0.22.1
>
>         Attachments: MAPREDUCE-3593.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

Posted by "Mayank Bansal (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mayank Bansal updated MAPREDUCE-3593:
-------------------------------------

       Fix Version/s: 0.22.1
    Target Version/s: 0.22.0, 0.22.1
              Status: Patch Available  (was: Open)

The problem was while submission of the job , job client was not using the reference of the UGI which is been created while creation of the client object however it was defaulting UGI of the proxy user. So we need to first open the API for getting the UGI of the cluster object which is getting created at the time of creation of the jobclient object and then use that to actual do the doas on behalf of the actual user.
                
> MAPREDUCE Impersonation is not working in 22
> --------------------------------------------
>
>                 Key: MAPREDUCE-3593
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.22.0
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>             Fix For: 0.22.1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3593) MAPREDUCE Impersonation is not working in 22

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176785#comment-13176785 ] 

Hadoop QA commented on MAPREDUCE-3593:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12508784/MAPREDUCE-3593.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1517//console

This message is automatically generated.
                
> MAPREDUCE Impersonation is not working in 22
> --------------------------------------------
>
>                 Key: MAPREDUCE-3593
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3593
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.22.0
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>             Fix For: 0.22.1
>
>         Attachments: MAPREDUCE-3593.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira