Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7159

FrameworkUploader: ensure proper permissions of generated framework tar.gz if restrictive umask is used

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.2, 3.3.0, 3.2.1
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Using certain umask values (like 027) makes files unreadable to "others". This causes problems if the FrameworkUploader (https://github.com/apache/hadoop/blob/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java) is used - it's necessary that the compressed MR framework is readable by all users, otherwise they won't be able to run MR jobs.

        Attachments

        1. MAPREDUCE-7159-001.patch
          7 kB
          Peter Bacsko
        2. MAPREDUCE-7159-002.patch
          7 kB
          Peter Bacsko
        3. MAPREDUCE-7159-003.patch
          7 kB
          Peter Bacsko
        4. MAPREDUCE-7159-004.patch
          7 kB
          Peter Bacsko
        5. MAPREDUCE-7159-005.patch
          7 kB
          Peter Bacsko
        6. MAPREDUCE-7159-006.patch
          9 kB
          Peter Bacsko
        7. MAPREDUCE-7159-007.patch
          8 kB
          Peter Bacsko

          Issue Links

            Activity

              People

              • Assignee:
                pbacsko Peter Bacsko
                Reporter:
                pbacsko Peter Bacsko
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: