HBase
  1. HBase
  2. HBASE-9054

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.94.10
    • Fix Version/s: None
    • Component/s: Admin
    • Labels:
      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.

        Activity

        Lars Hofhansl made changes -
        Fix Version/s 0.94.13 [ 12324885 ]
        Ted Yu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Duplicate [ 3 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.13 [ 12324885 ]
        Fix Version/s 0.94.12 [ 12324790 ]
        Bene Guo made changes -
        Attachment HBASE-9054-94.patch [ 12596275 ]
        Lars Hofhansl made changes -
        Field Original Value New Value
        Fix Version/s 0.94.12 [ 12324790 ]
        Fix Version/s 0.94.11 [ 12324741 ]
        Bene Guo created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Bene Guo
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development