Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6402

Suppress findbugs warning for failure to override equals and hashCode in FsAclPermission.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4.1, 3.0.0-alpha1
    • Fix Version/s: 2.4.1
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      HDFS-6326 introduced the FsAclPermission class as a subclass of FsPermission. This triggered a findbugs warning due to not overriding equals and hashCode. It's intentional that these methods are not overridden. We can override them to call super.equals and super.hashCode to suppress the findbugs warning.

        Attachments

        1. HDFS-6402.1.patch
          0.9 kB
          Chris Nauroth

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: