You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Devaraj Das (Created) (JIRA)" <ji...@apache.org> on 2012/01/20 21:54:42 UTC

[jira] [Created] (HADOOP-7987) Support setting the run-as user in unsecure mode

Support setting the run-as user in unsecure mode
------------------------------------------------

                 Key: HADOOP-7987
                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
             Project: Hadoop Common
          Issue Type: Improvement
          Components: security
    Affects Versions: 1.0.0
            Reporter: Devaraj Das
             Fix For: 1.1.0


Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HADOOP-7987:
-----------------------------------------

        Fix Version/s: 0.23.1
                       0.24.0
    Affects Version/s: 0.24.0
                       0.23.0
         Hadoop Flags: Reviewed
               Status: Patch Available  (was: Open)
    
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 1.0.0, 0.23.0, 0.24.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Todd Lipcon commented on HADOOP-7987:
-------------------------------------

I had started a thread on this same topic in September '10, where Owen vetoed the idea. See "hadoop.job.ugi backwards compatibility":
http://markmail.org/thread/irzcppjxy35hwybj
and http://markmail.org/message/qegxf3yeq74an5hq

Would be interesting to see if his opinion has changed.
                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 1.0.0
>            Reporter: Devaraj Das
>             Fix For: 1.1.0
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #172 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/172/])
    Merged r1235945 from trunk for HADOOP-7987.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235948
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0, 1.0.1
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #937 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/937/])
    HADOOP-7987. Support setting the run-as user in unsecure mode.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235945
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0, 1.0.1
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Common-0.23-Commit #418 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/418/])
    Merged r1235945 from trunk for HADOOP-7987.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235948
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated HADOOP-7987:
-------------------------------

    Fix Version/s:     (was: 1.1.0)

1.0.1 was a lineal predecessor of 1.1.0.
                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 1.0.0, 0.23.0, 0.24.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 1.0.1, 0.23.1, 0.24.0
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1584 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1584/])
    HADOOP-7987. Support setting the run-as user in unsecure mode.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235945
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #434 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/434/])
    Merged r1235945 from trunk for HADOOP-7987.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235948
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0, 1.0.1
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #409 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/409/])
    Merged r1235945 from trunk for HADOOP-7987.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235948
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0, 1.0.1
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #970 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/970/])
    HADOOP-7987. Support setting the run-as user in unsecure mode.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235945
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0, 1.0.1
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HADOOP-7987:
-----------------------------------------

    Attachment: HADOOP-7987.trunk.patch

Same patch applies to trunk without conflicts, just file paths changes.
                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 1.1.0
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

Posted by "Owen O'Malley (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190165#comment-13190165 ] 

Owen O'Malley commented on HADOOP-7987:
---------------------------------------

Actually, this is a pretty different solution in practice, although it allows a lot of the same abilities. This is just a change to UGI that lets you override the current user lookup in the HadoopLoginModule. Obviously, the change only works in non-secure mode and probably should be done with an environment variable such as HADOOP_USER.
                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 1.0.0
>            Reporter: Devaraj Das
>             Fix For: 1.1.0
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1657 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1657/])
    HADOOP-7987. Support setting the run-as user in unsecure mode.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235945
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0, 1.0.1
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] [Assigned] (HADOOP-7987) Support setting the run-as user in unsecure mode

Posted by "Jitendra Nath Pandey (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey reassigned HADOOP-7987:
--------------------------------------------

    Assignee: Jitendra Nath Pandey
    
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 1.1.0
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1601 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1601/])
    HADOOP-7987. Support setting the run-as user in unsecure mode.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235945
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0, 1.0.1
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193323#comment-13193323 ] 

Jitendra Nath Pandey commented on HADOOP-7987:
----------------------------------------------

The javadoc warnings have existed in trunk for a while now.
                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hadoop QA commented on HADOOP-7987:
-----------------------------------

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

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

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 javadoc.  The javadoc tool appears to have generated 7 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/530//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/530//console

This message is automatically generated.
                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HADOOP-7987:
-----------------------------------------

    Attachment: HADOOP-7987.branch-1.patch

A patch is uploaded. 
                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 1.1.0
>
>         Attachments: HADOOP-7987.branch-1.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HADOOP-7987:
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1
           Status: Resolved  (was: Patch Available)
    
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0, 1.0.1
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Hudson commented on HADOOP-7987:
--------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #150 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/150/])
    Merged r1235945 from trunk for HADOOP-7987.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235948
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserFromEnv.java

                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.23.0, 0.24.0, 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.1.0, 1.0.1
>
>         Attachments: HADOOP-7987.branch-1.patch, HADOOP-7987.trunk.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

--
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] (HADOOP-7987) Support setting the run-as user in unsecure mode

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

Devaraj Das commented on HADOOP-7987:
-------------------------------------

+1
                
> Support setting the run-as user in unsecure mode
> ------------------------------------------------
>
>                 Key: HADOOP-7987
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7987
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 1.0.0
>            Reporter: Devaraj Das
>            Assignee: Jitendra Nath Pandey
>             Fix For: 1.1.0
>
>         Attachments: HADOOP-7987.branch-1.patch
>
>
> Some applications need to be able to perform actions (such as launch MR jobs) from map or reduce tasks. In earlier unsecure versions of hadoop (20.x), it was possible to do this by setting user.name in the configuration. But in 20.205 and 1.0, when running in unsecure mode, this does not work. (In secure mode, you can do this using the kerberos credentials).

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