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

HBaseAdmin#isTableDisabled() should check table existence before checking zk state.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.94.10
    • None
    • Admin
    • None

    Description

      To avoid compatibility issues with older versions HBaseAdmin#isTableDisabled and HBaseAdmin#isTableEnabled()(The HBASE-8538 fix isTableEnabled.) returning true even if the table state is null. Its also returning true even a table is not present. We should confirm table existence from .META. before checking in zk. If table not present or deleted, then It will throw TableNotFoundException.

      Attachments

        1. HBASE-9054-94.patch
          2 kB
          Bene Guo

        Activity

          People

            Unassigned Unassigned
            beneguo Bene Guo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: