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

findbugs highlights problem with FsPermission

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: build, io
    • Labels:
      None
    • Environment:

      yetus

      Description

      Findbugs is warning of a problem in FsPermission

      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]
      

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: