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

HBA.delete can return too fast

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.90.1
    • 0.90.2
    • None
    • None
    • Reviewed

    Description

      One of our engineers got a weird TableExistsException in his code and I see that the client-side logging says the table was deleted in less than a second while it took the master 5 seconds to do it. Doing code inspection, the .META. scanner in HBA.delete can set found to true and then set it back to false in the case where the deleted table isn't the last one. We should just do a scan that would get the rows specific to the table instead of scanning all the rows.

      Attachments

        1. HBASE-3650.patch
          6 kB
          Jean-Daniel Cryans
        2. HBASE-3650-v2.patch
          9 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: