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 "issei yoshida (JIRA)" <ji...@apache.org> on 2009/12/18 11:33:18 UTC

[jira] Created: (HADOOP-6457) Set Hadoop User/Group by System properties or environment variables

Set Hadoop User/Group by System properties or environment variables
-------------------------------------------------------------------

                 Key: HADOOP-6457
                 URL: https://issues.apache.org/jira/browse/HADOOP-6457
             Project: Hadoop Common
          Issue Type: New Feature
          Components: security
            Reporter: issei yoshida


Hadoop User/Group can be set by System properties or environment variables.
For example, in environment variables,
export HADOOP_USER=test
export HADOOP_GROUP=user

or in your MapReduce,
System.setProperty("hadoop.user.name", "test");
System.setProperty("hadoop.group.name", "user");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6457) Set Hadoop User/Group by System properties or environment variables

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

Philip Zeyliger commented on HADOOP-6457:
-----------------------------------------

Do note that users can be in more than one group, so hadoop.group.name should probably be hadoop.group.names, and be comma-delimited.

> Set Hadoop User/Group by System properties or environment variables
> -------------------------------------------------------------------
>
>                 Key: HADOOP-6457
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6457
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security
>            Reporter: issei yoshida
>         Attachments: 6457.patch
>
>
> Hadoop User/Group can be set by System properties or environment variables.
> For example, in environment variables,
> export HADOOP_USER=test
> export HADOOP_GROUP=user
> or in your MapReduce,
> System.setProperty("hadoop.user.name", "test");
> System.setProperty("hadoop.group.name", "user");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6457) Set Hadoop User/Group by System properties or environment variables

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

Allen Wittenauer commented on HADOOP-6457:
------------------------------------------

What makes this better than setting hadoop.job.ugi?

> Set Hadoop User/Group by System properties or environment variables
> -------------------------------------------------------------------
>
>                 Key: HADOOP-6457
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6457
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security
>            Reporter: issei yoshida
>         Attachments: 6457.patch
>
>
> Hadoop User/Group can be set by System properties or environment variables.
> For example, in environment variables,
> export HADOOP_USER=test
> export HADOOP_GROUP=user
> or in your MapReduce,
> System.setProperty("hadoop.user.name", "test");
> System.setProperty("hadoop.group.name", "user");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6457) Set Hadoop User/Group by System properties or environment variables

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

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

Also note that this isn't going to be compatible with security for obvious reasons. If you look at the patches that I've uploaded on HADOOP-6299, you'll see that we are moving toward using the JAAS interface for getting the user.

Can you explain more of what you are trying to accomplish?

> Set Hadoop User/Group by System properties or environment variables
> -------------------------------------------------------------------
>
>                 Key: HADOOP-6457
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6457
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security
>            Reporter: issei yoshida
>         Attachments: 6457.patch
>
>
> Hadoop User/Group can be set by System properties or environment variables.
> For example, in environment variables,
> export HADOOP_USER=test
> export HADOOP_GROUP=user
> or in your MapReduce,
> System.setProperty("hadoop.user.name", "test");
> System.setProperty("hadoop.group.name", "user");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6457) Set Hadoop User/Group by System properties or environment variables

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

issei yoshida updated HADOOP-6457:
----------------------------------

    Hadoop Flags: [Incompatible change]

> Set Hadoop User/Group by System properties or environment variables
> -------------------------------------------------------------------
>
>                 Key: HADOOP-6457
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6457
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security
>            Reporter: issei yoshida
>         Attachments: 6457.patch
>
>
> Hadoop User/Group can be set by System properties or environment variables.
> For example, in environment variables,
> export HADOOP_USER=test
> export HADOOP_GROUP=user
> or in your MapReduce,
> System.setProperty("hadoop.user.name", "test");
> System.setProperty("hadoop.group.name", "user");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6457) Set Hadoop User/Group by System properties or environment variables

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

issei yoshida updated HADOOP-6457:
----------------------------------

    Attachment: 6457.patch

> Set Hadoop User/Group by System properties or environment variables
> -------------------------------------------------------------------
>
>                 Key: HADOOP-6457
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6457
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security
>            Reporter: issei yoshida
>         Attachments: 6457.patch
>
>
> Hadoop User/Group can be set by System properties or environment variables.
> For example, in environment variables,
> export HADOOP_USER=test
> export HADOOP_GROUP=user
> or in your MapReduce,
> System.setProperty("hadoop.user.name", "test");
> System.setProperty("hadoop.group.name", "user");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.