[
https://issues.apache.org/jira/browse/HADOOP-7603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095772#comment-13095772
]
Eric Yang commented on HADOOP-7603:
-----------------------------------
bq. 49 is not a safe gid on RHEL6.
Base on Redhat 6 document, it should be available. What group uses 49?
Reference:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-users-groups-standard-groups.html
bq. What if these users already exist on the system?
The package checks for existence of the user before it creates the users. If
the users are already existed, the package will use the existing users.
> Set default hdfs, mapred uid, and hadoop group gid for RPM packages
> -------------------------------------------------------------------
>
> Key: HADOOP-7603
> URL: https://issues.apache.org/jira/browse/HADOOP-7603
> Project: Hadoop Common
> Issue Type: Bug
> Environment: Java, Redhat EL, Ubuntu
> Reporter: Eric Yang
> Assignee: Eric Yang
>
> Hadoop rpm package creates hdfs, mapped users, and hadoop group for
> automatically setting up pid directory and log directory with proper
> permission. The default headless users should have a fixed uid, and gid
> numbers defined.
> Searched through the standard uid and gid on both Redhat and Debian distro.
> It looks like:
> {noformat}
> uid: 201 for hdfs
> uid: 202 for mapred
> gid: 49 for hadoop
> {noformat}
> would be free for use.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira