HBase
  1. HBase
  2. HBASE-4951

master process can not be stopped when it is initializing

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 0.90.3
    • Fix Version/s: 0.90.7
    • Component/s: master
    • Labels:
      None

      Description

      It is easy to reproduce by following step:
      step1:start master process.(do not start regionserver process in the cluster).
      the master will wait the regionserver to check in:
      org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin

      step2:stop the master by sh command bin/hbase master stop

      result:the master process will never die because catalogTracker.waitForRoot() method will block unitl the root region assigned.

      1. HBASE-4951_branch.patch
        6 kB
        ramkrishna.s.vasudevan
      2. HBASE-4951.patch
        2 kB
        ramkrishna.s.vasudevan

        Activity

        ramkrishna.s.vasudevan made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Jean-Daniel Cryans made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Lars Hofhansl made changes -
        Due Date 06/Dec/11
        ramkrishna.s.vasudevan made changes -
        Fix Version/s 0.90.7 [ 12319481 ]
        Fix Version/s 0.90.6 [ 12319200 ]
        Ted Yu made changes -
        Comment [ -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12508251/HBASE-4951_branch.patch
          against trunk revision .

            +1 @author. The patch does not contain any @author tags.

            -1 tests included. The patch doesn't appear to include any new or modified tests.
                                Please justify why no new tests are needed for this patch.
                                Also please list what manual steps were performed to verify this patch.

            -1 patch. The patch command could not apply the patch.

        Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/568//console

        This message is automatically generated. ]
        ramkrishna.s.vasudevan made changes -
        Attachment HBASE-4951_branch.patch [ 12508251 ]
        Ted Yu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ted Yu made changes -
        Comment [ {code}
        "master-linux76,60000,1323451554081" prio=10 tid=0x085cdc00 nid=0x685f waiting on condition [0x6fae9000..0x6fae9e50]
           java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.apache.hadoop.hbase.master.ServerManager.waitForRegionServers(ServerManager.java:530)
        at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:489)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:336)
        at java.lang.Thread.run(Thread.java:619)
        {code}
        One thread dump ]
        ramkrishna.s.vasudevan made changes -
        Attachment HBASE-4951.patch [ 12506976 ]
        stack made changes -
        Fix Version/s 0.90.6 [ 12319200 ]
        Fix Version/s 0.92.0 [ 12314223 ]
        Fix Version/s 0.90.5 [ 12317145 ]
        ramkrishna.s.vasudevan made changes -
        Field Original Value New Value
        Assignee ramkrishna.s.vasudevan [ ram_krish ]
        xufeng created issue -

          People

          • Assignee:
            ramkrishna.s.vasudevan
            Reporter:
            xufeng
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development