You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/11/25 21:36:11 UTC

[jira] [Created] (HADOOP-12601) findbugs highlights problem with FsPermission

Steve Loughran created HADOOP-12601:
---------------------------------------

             Summary: findbugs highlights problem with FsPermission
                 Key: HADOOP-12601
                 URL: https://issues.apache.org/jira/browse/HADOOP-12601
             Project: Hadoop Common
          Issue Type: Bug
          Components: build, io
    Affects Versions: 3.0.0
         Environment: yetus
            Reporter: Steve Loughran


Findbugs is warning of a problem in {{FsPermission}}

{code}
n class org.apache.hadoop.fs.permission.FsPermission
In method org.apache.hadoop.fs.permission.FsPermission.getUMask(Configuration)
Local variable named oldUmask
At FsPermission.java:[line 249]
{code}

This may actually be a sign of a bug in the code, but as it's reading a key tagged as deprecated since 2010 and to be culled in 0.23, maybe cutting the line is the strategy. After all, if the code has been broken, and nobody complained, that deprecation worked



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)