Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 927C67D4F for ; Fri, 2 Sep 2011 04:48:57 +0000 (UTC) Received: (qmail 44219 invoked by uid 500); 2 Sep 2011 04:48:53 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 43743 invoked by uid 500); 2 Sep 2011 04:48:37 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 43710 invoked by uid 99); 2 Sep 2011 04:48:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2011 04:48:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2011 04:48:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E2E67379EC for ; Fri, 2 Sep 2011 04:48:09 +0000 (UTC) Date: Fri, 2 Sep 2011 04:48:09 +0000 (UTC) From: "Eric Yang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1510775199.9425.1314938889926.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1563836527.9110.1314928809925.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7603) Set default hdfs, mapred uid, and hadoop group gid for RPM packages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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