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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.4.1, 3.0.0-alpha1
    • 2.4.1
    • namenode
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: