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

Disabling of Catalog tables should not be allowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.1, 0.95.0
    • Client
    • None
    • Reviewed

    Description

      HBaseAdmin#disableTable() when called with META or ROOT table, it will pass the disable instruction to Master and table is actually getting disabled. Later this API call will fail as there is a call to HBaseAdmin#isTableDisabled() which is having a check like isLegalTableName(tableName).So this call makes the catalog table to be in disabled state.

      We can have same kind of isLegalTableName(tableName) checks in disableTable() and enableTable() APIs

      Attachments

        1. HBASE-6146_94.patch
          2 kB
          Anoop Sam John
        2. HBASE-6146_Trunk.patch
          2 kB
          Anoop Sam John

        Activity

          People

            anoopsamjohn Anoop Sam John
            anoopsamjohn Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: