FAQ
Provide a simple login implementation
-------------------------------------

Key: HADOOP-2229
URL: https://issues.apache.org/jira/browse/HADOOP-2229
Project: Hadoop
Issue Type: New Feature
Affects Versions: 0.15.0
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Hairong Kuang
Fix For: 0.16.0


Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.

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

Search Discussions

  • Hairong Kuang (JIRA) at Nov 28, 2007 at 12:39 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546060 ]

    Hairong Kuang commented on HADOOP-2229:
    ---------------------------------------

    Since HADOOP-1701 is still under debate, this issue intends to provide the minumum abstraction that needs to support file/directory permission in dfs. It defines a Writable interface called UserGroupInformation that contains user name, the names of the groups that it belongs to, and its umask.

    {code}
    public interface UserGroupInformation extends Writable {
    /** Get username */
    public String getUserName();

    /*** Get the name of the groups that the user belong to */
    public String[] getGroupNames();

    /** Get the default group name. */
    public String getDefaultGroupName();

    /** Get the user's umask. */
    public short getUMask();
    }
    {code}

    It also provides a Unix implementation of the UGI interface. The implementation additionly provides a static method login with the following signature:
    {code} public static UnixUserGroupInformation login(Configuration conf) throws LoginException; {code}
    It allows to construct a UnixUserGroupInformation object either from conf if it is contained there or from the underlying Unix system.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Nov 28, 2007 at 12:58 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Attachment: ugi.patch

    The patch implements the idea described above.

    Similliar to Owen's suggestion in HADOOP-1873, UnixUserGroupsInformation provides two static methods readFromConf and saveToConf that support (de)serializing a UnixUGI from/to conf.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Nov 28, 2007 at 7:05 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Attachment: ugi1.patch

    On the second thought, I feel that getUMask() should not be part of the UserGroupInformation (UGI) interface. One reason is that umask is not needed on the server side and it does not need to be transferred over the wire. In the new method, I removed getUMask from UGI, but UnixUserGroupInformation still implements this method and umask gets saved into configuration.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Nov 28, 2007 at 10:01 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Attachment: ugi2.patch

    This new patch enforces that the first entry in groups list is the default group.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Tsz Wo (Nicholas), SZE (JIRA) at Nov 29, 2007 at 6:53 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546837 ]

    Tsz Wo (Nicholas), SZE commented on HADOOP-2229:
    ------------------------------------------------

    In UnixUserGroupInformation.equals(...), it is better to do set comparison for the group array since we don't care ordering. For example,
    {code}
    String [] a = ...
    String [] b = ...
    return a == b || new TreeSet<String>(Arrays.asList(a)).equals(new TreeSet<String>(Arrays.asList(b)));
    {code}
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Nov 29, 2007 at 9:59 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Attachment: ugi3.patch

    This patch incorporates Tsz Wo's comments. It also makes the string form of umask to be in the octal format.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Doug Cutting (JIRA) at Nov 29, 2007 at 11:10 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546932 ]

    Doug Cutting commented on HADOOP-2229:
    --------------------------------------

    Why is umask only a Unix feature, rather than in the interface?

    Also, it seems to me that perhaps umask should use the api from HADOOP-2288, exposing itself as an FsPermission, or at least linking to that in the javadoc, so that one knows how to use that value.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Nov 30, 2007 at 12:03 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546944 ]

    Hairong Kuang commented on HADOOP-2229:
    ---------------------------------------
    Why is umask only a Unix feature, rather than in the interface?
    I took umask out of the UGI interface on the considering that the namenode does not need umask in UGI.
    Also, it seems to me that perhaps umask should use the api from HADOOP-2288, exposing itself as an FsPermission, or at least linking to that in the javadoc, so that one knows how to use that value.
    It's a good idea to return umask as FsPermission. But a umask needs to be negated before it is applied to the user permission. Yes, at least I will do the linking.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Nov 30, 2007 at 11:16 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Attachment: ugi4.patch

    Ok, now the proposal for umask to remove umask from both UGI and UnixUGI. Instead FSPermission (defined in HADOOP-2288) is going to provide get/set umask methods. The approach is that rather than getting a user's umask from UNIX, umask is going to be read from hadoop configuration. If it is not set in the configuration, it is set to a default value 0022.

    This new patch reflects the proposed change.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Doug Cutting (JIRA) at Dec 1, 2007 at 12:19 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547347 ]

    Doug Cutting commented on HADOOP-2229:
    --------------------------------------

    +1 This looks good to me.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Sanjay Radia (JIRA) at Dec 1, 2007 at 12:25 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547350 ]

    Sanjay Radia commented on HADOOP-2229:
    --------------------------------------

    In writeFields, please write the kind of authentication technology (something like "STRING_UGI") to distinguish it from other authentication info such as tickets.
    readFields, it should raise an exception if the the string does not match.
    (This may be moot if we go to JAAS and GSS, as it probably has its own way of taking care of this, but at least it would be consistent for now).


    The javadocs comments for some of the public methods are not in the conventional javadoc style.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Dec 1, 2007 at 12:59 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Attachment: ugi5.patch

    This patch incorporates Sanjay's comments.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Dec 1, 2007 at 12:59 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Status: Patch Available (was: Open)
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at Dec 1, 2007 at 5:23 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547376 ]

    Hadoop QA commented on HADOOP-2229:
    -----------------------------------

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

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

    javadoc +1. The javadoc tool did not generate any warning messages.

    javac +1. The applied patch does not generate any new compiler warnings.

    findbugs -1. The patch appears to introduce 3 new Findbugs warnings.

    core tests -1. The patch failed core unit tests.

    contrib tests -1. The patch failed contrib unit tests.

    Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1225/testReport/
    Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1225/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1225/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1225/console

    This message is automatically generated.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Owen O'Malley (JIRA) at Dec 3, 2007 at 7:12 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Owen O'Malley updated HADOOP-2229:
    ----------------------------------

    Status: Open (was: Patch Available)

    This looks pretty good. You need to fix the findbugs warnings and I'd make all of the unix commands more standard (use whoami and groups) and make the invoking path strings relative paths. Making them absolute makes it much more likely to be wrong on non-linux platforms.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Dec 3, 2007 at 9:25 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Attachment: ugi6.patch

    This patch fixed the findbug errors and incorporated Owen's comments. Also instead of using the command "id", it uses "whoami" and "groups" to get the current user's name & goups list.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Dec 3, 2007 at 9:25 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Status: Patch Available (was: Open)
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at Dec 4, 2007 at 12:05 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548062 ]

    Hadoop QA commented on HADOOP-2229:
    -----------------------------------

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

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

    javadoc +1. The javadoc tool did not generate any warning messages.

    javac +1. The applied patch does not generate any new compiler warnings.

    findbugs -1. The patch appears to introduce 2 new Findbugs warnings.

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

    contrib tests -1. The patch failed contrib unit tests.

    Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1248/testReport/
    Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1248/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1248/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1248/console

    This message is automatically generated.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Dec 4, 2007 at 12:41 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Attachment: ugi7.patch

    The patch fixed the new findbug errors.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch, ugi7.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Dec 4, 2007 at 12:41 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Status: Patch Available (was: Open)
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch, ugi7.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Dec 4, 2007 at 12:41 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Status: Open (was: Patch Available)
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch, ugi7.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at Dec 4, 2007 at 6:48 am
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548150 ]

    Hadoop QA commented on HADOOP-2229:
    -----------------------------------

    +1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12370899/ugi7.patch
    against trunk revision r600771.

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

    javadoc +1. The javadoc tool did not generate any warning messages.

    javac +1. The applied patch does not generate any new compiler warnings.

    findbugs +1. The patch does not introduce any new Findbugs warnings.

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

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

    Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1253/testReport/
    Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1253/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1253/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1253/console

    This message is automatically generated.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch, ugi7.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hairong Kuang (JIRA) at Dec 4, 2007 at 6:41 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-2229:
    ----------------------------------

    Attachment: ugi9.patch

    The previous patch conflicts with HADOOP-2288. So here is a new one.
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch, ugi7.patch, ugi9.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Dec 4, 2007 at 6:54 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur updated HADOOP-2229:
    -------------------------------------

    Resolution: Fixed
    Status: Resolved (was: Patch Available)

    I just committed this. Thanks Hairong!
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch, ugi7.patch, ugi9.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Dec 4, 2007 at 6:56 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur updated HADOOP-2229:
    -------------------------------------

    Component/s: fs
    Provide a simple login implementation
    -------------------------------------

    Key: HADOOP-2229
    URL: https://issues.apache.org/jira/browse/HADOOP-2229
    Project: Hadoop
    Issue Type: New Feature
    Components: fs
    Affects Versions: 0.15.0
    Reporter: Tsz Wo (Nicholas), SZE
    Assignee: Hairong Kuang
    Fix For: 0.16.0

    Attachments: ugi.patch, ugi1.patch, ugi2.patch, ugi3.patch, ugi4.patch, ugi5.patch, ugi6.patch, ugi7.patch, ugi9.patch


    Give a simple implementation of HADOOP-1701. Hadoop clients are assumed to be started within a Unix-like network which provides user and group management. This implementation read user information from the OS and send them to the NameNode in plaintexts through RPC (see also HADOOP-2184). NameNode trusts all information given and uses them for permission checking.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedNov 19, '07 at 7:17p
activeDec 4, '07 at 6:56p
posts26
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

dhruba borthakur (JIRA): 26 posts

People

Translate

site design / logo © 2022 Grokbase