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

Alter in the shell can be too quick and return before the table is altered

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.0
    • 0.95.0
    • None
    • None

    Description

      This seems to be a recent change in behavior but I'm still not sure where it's coming from.

      The shell is able to call HMaster.getAlterStatus before the TableEventHandler is able call AM.setRegionsToReopen so that the returned status shows no pending regions. It means that the alter seems "instantaneous" although it's far from completed.

      Attachments

        1. HBASE-5359.patch
          5 kB
          Nicolas Spiegelberg

        Issue Links

          Activity

            People

              nspiegelberg Nicolas Spiegelberg
              jdcryans Jean-Daniel Cryans
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: