Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6590

Add a username check for hadoop sub-commands

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.22.0, 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: scripts
    • Labels:
      None

      Description

      We experienced a case that sometimes we accidentally started HDFS or MAPREDUCE with root user. Then the directory permission will be modified and we have to chown them. It will be nice if there can be a username checking in the hadoop-daemon.sh script so that we always start with the desired username.

        Attachments

        1. HADOOP-6590.patch
          1 kB
          Scott Chen
        2. HADOOP-6590-2010-07-12.txt
          1 kB
          Scott Chen
        3. HADOOP-6590-02.patch
          2 kB
          Allen Wittenauer
        4. HADOOP-6590-03.patch
          3 kB
          Allen Wittenauer
        5. HADOOP-6590-04.patch
          3 kB
          John Smith

          Issue Links

            Activity

              People

              • Assignee:
                pocky John Smith
                Reporter:
                schen Scott Chen
              • Votes:
                1 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: