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

Master will block forever at startup if root server dies between assigning root and assigning meta

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.92.1
    • Fix Version/s: 0.94.1, 0.95.0
    • Component/s: master
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When master is initializing, if root server died between assign root and assign meta, master will block at
      HMaster#assignRootAndMeta:

      assignmentManager.assignMeta();
      this.catalogTracker.waitForMeta();

      because ServerShutdownHandler is disabled,

      So we should enable ServerShutdownHandler after called assignmentManager.assignMeta();

        Attachments

        1. HBASE-5918V2.patch
          2 kB
          chunhui shen
        2. HBASE-5918.patch
          0.7 kB
          chunhui shen
        3. HBASE-5918.patch
          0.7 kB
          chunhui shen
        4. HBASE-5918_0.94
          2 kB
          ramkrishna.s.vasudevan

          Activity

            People

            • Assignee:
              zjushch chunhui shen
              Reporter:
              zjushch chunhui shen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: