Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17450

TablePermission#equals throws NPE after namespace support was added

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • findbugs
    • None
    • Reviewed

    Description

      below unit test will throws NullPointerException:

          p1 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
          p2 = new TablePermission(TEST_NAMESPACE, TablePermission.Action.READ);
          assertEquals(p1, p2);
      

      this bug was introduced after constructor of TablePermission for namespace provided.

      Attachments

        1. HBASE-17450.v1.patch
          3 kB
          Zheng Hu

        Activity

          People

            openinx Zheng Hu
            openinx Zheng Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: