Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-563 Security features for Map/Reduce
  3. MAPREDUCE-871

Job/Task local files have incorrect group ownership set by LinuxTaskController binary

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: tasktracker
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Fixed LinuxTaskController binary so that permissions of local files on TT are set correctly: user owned by the job-owner and group-owned by the group owner of the binary and _not_ the primary group of the TaskTracker.

      Description

      HADOOP-4491 fixed the secure permissions of local files on a TT. While testing HADOOP-4491 on a cluster, Karam Singh found out a bug. All the files/dirs have should be owned by the group corresponding to the group owner of the task-controller binary (via using getegid()) which in turn is a special group to which only TT user belongs. HADOOP-4491 incorrectly set it to primary group of the TT via getgid(), and not the special group.

        Attachments

        1. MAPREDUCE-871-20090820.1.txt
          8 kB
          Vinod Kumar Vavilapalli
        2. 871.20S.patch
          8 kB
          Ravi Gummadi

          Issue Links

            Activity

              People

              • Assignee:
                vinodkv Vinod Kumar Vavilapalli
                Reporter:
                vinodkv Vinod Kumar Vavilapalli
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: