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

Properly handle empty TableName in TablePermission#readFields and #write

    XMLWordPrintableJSON

Details

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

    Description

      HBASE-17450 handles the empty table name in equals().

      This JIRA is to properly handle empty TableName in TablePermission#readFields() and TablePermission#write() methods and also null checks whereever appropriate in the code to avoid NPE. The toString method if-elseif-else condition check causes some of the details not to be logged for a given TablePermission so this has to be fixed

      Attachments

        1. HBASE-17469.master.001.patch
          3 kB
          Manjunath Anand
        2. HBASE-17469.master.002.patch
          4 kB
          Manjunath Anand

        Activity

          People

            manju_hadoop Manjunath Anand
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: