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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.1.1, 2.1.2
    • 3.0.0-alpha-1, 2.2.0, 2.1.3, 2.0.5, 2.3.0
    • Admin
    • None
    • 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.001.patch
          5 kB
          Nihal Jain
        2. HBASE-21644.master.002.patch
          5 kB
          Nihal Jain
        3. HBASE-21644.master.003.patch
          6 kB
          Duo Zhang
        4. HBASE-21644.master.003.patch
          6 kB
          Nihal Jain
        5. HBASE-21644.master.UT.patch
          1 kB
          Nihal Jain

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: