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

FsPermission:SetUMask not updated to use new-style umask setting.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      FsPermission:

      221   /** Set the user file creation mask (umask) */
      222   public static void setUMask(Configuration conf, FsPermission umask) {                                    
      223     conf.setInt(UMASK_LABEL, umask.toShort());
      224   }
      

      Needs to be updated to not use a decimal value. This is a bug introduced by HADOOP-6234.

        Attachments

        1. ASF.LICENSE.NOT.GRANTED--hadoop-6521.patch
          6 kB
          Suresh Srinivas
        2. hadoop-6521.1.patch
          8 kB
          Suresh Srinivas
        3. hadoop-6521.patch
          22 kB
          Suresh Srinivas
        4. hadoop-6521.rel20.1.patch
          4 kB
          Suresh Srinivas
        5. hadoop-6521.rel20.patch
          4 kB
          Suresh Srinivas
        6. hadoop-6521.rel20.patch
          4 kB
          Suresh Srinivas
        7. hadoop-6521.rel20.patch
          4 kB
          Suresh Srinivas

          Issue Links

            Activity

              People

              • Assignee:
                sureshms Suresh Srinivas
                Reporter:
                jghoman Jakob Homan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: