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

Deleting and recreating a table in a single process does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.1, 0.18.0
    • 0.2.1, 0.18.0
    • None
    • None

    Description

      When you delete and then recreate/enable the same table in the same process, when you get the HTable reference to the new table you are actually given the old table.

      The connection information is never deleted/invalidated.

      To fix, we add a call to HConnectionManager.deleteConnectionInfo(conf) at the end of HBaseAdmin.deleteTable(). This information will then be re-loaded with the latest table references once the client asks for it.

      Attachments

        1. hbase-843-v1.patch
          1 kB
          Jonathan Gray

        Activity

          People

            streamy Jonathan Gray
            streamy Jonathan Gray
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: