HBase
  1. HBase
  2. HBASE-5359

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.92.0
    • Fix Version/s: 0.95.0
    • Component/s: None
    • Labels:
      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.

      1. HBASE-5359.patch
        5 kB
        Nicolas Spiegelberg

        Issue Links

          Activity

          stack made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          stack made changes -
          Fix Version/s 0.98.0 [ 12323143 ]
          stack made changes -
          Fix Version/s 0.98.0 [ 12323143 ]
          Lars Hofhansl made changes -
          Fix Version/s 0.94.0 [ 12316419 ]
          Lars Hofhansl made changes -
          Fix Version/s 0.94.0 [ 12316419 ]
          stack made changes -
          Fix Version/s 0.95.0 [ 12324094 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          Lars Hofhansl made changes -
          Link This issue relates to HBASE-7596 [ HBASE-7596 ]
          Nicolas Spiegelberg made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Assignee Nicolas Spiegelberg [ nspiegelberg ]
          Resolution Fixed [ 1 ]
          Nicolas Spiegelberg made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          Fix Version/s 0.92.2 [ 12319888 ]
          Nicolas Spiegelberg made changes -
          Attachment HBASE-5359.patch [ 12521348 ]
          Nicolas Spiegelberg made changes -
          Link This issue is broken by HBASE-1730 [ HBASE-1730 ]
          Nicolas Spiegelberg made changes -
          Link This issue is required by HBASE-5335 [ HBASE-5335 ]
          stack made changes -
          Field Original Value New Value
          Fix Version/s 0.92.2 [ 12319888 ]
          Fix Version/s 0.94.0 [ 12316419 ]
          Fix Version/s 0.92.1 [ 12318551 ]
          Jean-Daniel Cryans created issue -

            People

            • Assignee:
              Nicolas Spiegelberg
              Reporter:
              Jean-Daniel Cryans
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development