hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6521) FsPermission:SetUMask not updated to use new-style umask setting.
Date Fri, 23 Apr 2010 18:12:51 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jakob Homan updated HADOOP-6521:
--------------------------------

    Hadoop Flags: [Reviewed]

If we're - correctly - not using the deprecatedKeyWasSet method, and this was the only place
it was used and it's not yet been released, might we just as well remove it?  Otherwise it's
an unused, potentially buggy API.  Otherwise, +1.

> FsPermission:SetUMask not updated to use new-style umask setting.
> -----------------------------------------------------------------
>
>                 Key: HADOOP-6521
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6521
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Jakob Homan
>            Assignee: Suresh Srinivas
>         Attachments: hadoop-6521.patch, hadoop-6521.rel20.1.patch, hadoop-6521.rel20.patch,
hadoop-6521.rel20.patch, hadoop-6521.rel20.patch
>
>
> FsPermission:
> {code}
> 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   }
> {code}
> Needs to be updated to not use a decimal value. This is a bug introduced by HADOOP-6234.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message