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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.8
    • Admin
    • None
    • Reviewed

    Description

      To avoid compatibility issues with older versions HBaseAdmin#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-8538_94.patch
          1 kB
          rajeshbabu

        Activity

          People

            rajesh23 rajeshbabu
            rajesh23 rajeshbabu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: