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

Maximize sleep for checking meta and namespace regions availability

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.4.0, 2.2.7, 2.3.4
    • Component/s: master
    • Labels:
      None
    • Release Note:
      Changed the max sleep time during meta and namespace regions availability check to be 60 sec. Previously there was no such cap

      Description

      The isRegionOnline method in HMaster is used on Master startup to check the availability of hbase:meta and hbase:namespace tables.
      I've run into an issue when namespace was not online and Master was just waiting there. I've used HBCK2 to fix the cluster but the initialization was not completed because RetryCounterFactory was already waiting for 10+ hours.

      Since Master is waiting in an idle state it makes no harm to check the region availability more frequently and limit the maximum sleep time.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psomogyi Peter Somogyi
                Reporter:
                psomogyi Peter Somogyi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: