hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Loddengaard (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-4429) Misconfigured UNIX Groups Break Hadoop
Date Tue, 04 Nov 2008 17:54:44 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Loddengaard updated HADOOP-4429:
-------------------------------------

    Attachment: drwhointardis.patch

Submitting a patch to set a default name and group if an Exception occurs when fetching these
from UNIX.  The default username is "DrWho" and the default group is "Tardis".

I am not submitting a test, because UnixUserGroupInformation#getUnixUserName() and UnixUserGroupInformation#getUnixGroups()
are static methods, which stops me from extending UnixUserGroupInformation and overwriting
these methods to throw Exceptions.  I considered creating a test by creating a binary for
"whoami" and "groups" and adding these to my PATH, but I figured this was rather cumbersome
with such a simple patch.  Let me know if you disagree and I can make binaries for these.

I decided to make DEFAULT_USERNAME and DEFAULT_GROUP private constants, just to be sure to
not pollute the public interface.

> Misconfigured UNIX Groups Break Hadoop
> --------------------------------------
>
>                 Key: HADOOP-4429
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4429
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: UNIX, Linux
>            Reporter: Alex Loddengaard
>            Priority: Minor
>         Attachments: drwhointardis.patch
>
>
> If a UNIX user has misconfigured groups, either locally or through LDAP, then Hadoop
will not be able to start.

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


Mime
View raw message