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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0, 0.22.0
    • 0.21.0
    • fs
    • None
    • 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. hadoop-6521.rel20.patch
          4 kB
          Suresh Srinivas
        2. hadoop-6521.rel20.patch
          4 kB
          Suresh Srinivas
        3. hadoop-6521.rel20.patch
          4 kB
          Suresh Srinivas
        4. hadoop-6521.rel20.1.patch
          4 kB
          Suresh Srinivas
        5. hadoop-6521.patch
          22 kB
          Suresh Srinivas
        6. hadoop-6521.1.patch
          8 kB
          Suresh Srinivas
        7. ASF.LICENSE.NOT.GRANTED--hadoop-6521.patch
          6 kB
          Suresh Srinivas

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: