Hadoop Common
  1. Hadoop Common
  2. HADOOP-7603

Set default hdfs, mapred uid, and hadoop group gid for RPM packages

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0, 0.23.0
    • Fix Version/s: 0.20.205.0, 0.23.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Java, Redhat EL, Ubuntu

    • Release Note:
      Set hdfs uid, mapred uid, and hadoop gid to fixed numbers (201, 202, and 123, respectively).

      Description

      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:

      uid: 201 for hdfs
      uid: 202 for mapred
      gid: 49 for hadoop
      

      would be free for use.

      1. HADOOP-7603.patch
        2 kB
        Eric Yang
      2. HADOOP-7603-trunk.patch
        5 kB
        Eric Yang

        Activity

        Eric Yang created issue -
        Eric Yang made changes -
        Field Original Value New Value
        Attachment HADOOP-7603.patch [ 12496582 ]
        Eric Yang made changes -
        Attachment HADOOP-7603-trunk.patch [ 12496583 ]
        Eric Yang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.20.205.0 [ 12316390 ]
        Affects Version/s 0.23.0 [ 12315569 ]
        Fix Version/s 0.20.205.0 [ 12316390 ]
        Fix Version/s 0.23.0 [ 12315569 ]
        Eric Yang made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Release Note Set hdfs, mapred uid, and hadoop uid to fixed numbers. (Eric Yang)
        Resolution Fixed [ 1 ]
        Matt Foley made changes -
        Release Note Set hdfs, mapred uid, and hadoop uid to fixed numbers. (Eric Yang) Set hdfs uid, mapred uid, and hadoop gid to fixed numbers (201, 202, and 123, respectively).
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Eric Yang
            Reporter:
            Eric Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development