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 Bug
    • Status: Closed
    • Priority: Major 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();

      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

        chunhui shen created issue -
        chunhui shen made changes -
        Field Original Value New Value
        Affects Version/s 0.92.1 [ 12318551 ]
        Component/s master [ 12312138 ]
        chunhui shen made changes -
        Attachment HBASE-5918.patch [ 12525282 ]
        Ted Yu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hadoop Flags Reviewed [ 10343 ]
        chunhui shen made changes -
        Attachment HBASE-5918.patch [ 12525381 ]
        chunhui shen made changes -
        Attachment HBASE-5918V2.patch [ 12525408 ]
        Ted Yu made changes -
        Summary Master will block forever when startup if root server died between assign root and assign meta Master will block forever at startup if root server dies between assigning root and assigning meta
        ramkrishna.s.vasudevan made changes -
        Attachment HBASE-5918_0.94 [ 12532731 ]
        ramkrishna.s.vasudevan made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.1 [ 12320257 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.1 [ 12320257 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.1 [ 12320257 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development