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

Modify table procedure runs infinitely for a table having region replication > 1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.1.1, 2.1.2
    • Fix Version/s: 3.0.0, 2.2.0, 2.1.3, 2.0.5, 2.3.0
    • Component/s: Admin
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Steps to reproduce

      1. Create a table with region replication set to a value greater than 1
      2. Modify any of the table properties, say max file size

      Expected Result
      The modify table should succeed and run to completion.

      Actual Result
      The modify table keep running infinitely

      Analysis/Issue
      The problem occurs due to inifinitely looping between states REOPEN_TABLE_REGIONS_REOPEN_REGIONS and REOPEN_TABLE_REGIONS_CONFIRM_REOPENED of ReopenTableRegionsProcedure, called as part of ModifyTableProcedure.

      Consequences
      For a table having region replicas:

      • Any modify table operation fails to complete
      • Also, enable table replication fails to complete as it is unable to change the replication scope of the table in source cluster

        Attachments

        1. HBASE-21644.master.003.patch
          6 kB
          Duo Zhang
        2. HBASE-21644.master.003.patch
          6 kB
          Nihal Jain
        3. HBASE-21644.master.002.patch
          5 kB
          Nihal Jain
        4. HBASE-21644.master.001.patch
          5 kB
          Nihal Jain
        5. HBASE-21644.master.UT.patch
          1 kB
          Nihal Jain

          Issue Links

            Activity

              People

              • Assignee:
                nihaljain.cs Nihal Jain
                Reporter:
                nihaljain.cs Nihal Jain
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: