You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/12/14 20:43:02 UTC

[jira] Updated: (HBASE-3355) Stopping a stopped cluster leaks an HMaster

     [ https://issues.apache.org/jira/browse/HBASE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-3355:
--------------------------------------

    Attachment: HBASE-3355.patch

This patch limits the retries to 1. Works better for me.

> Stopping a stopped cluster leaks an HMaster
> -------------------------------------------
>
>                 Key: HBASE-3355
>                 URL: https://issues.apache.org/jira/browse/HBASE-3355
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.90.0
>
>         Attachments: HBASE-3355.patch
>
>
> This is a very annoying bug, I have two clusters running on the same machine so I often stop the wrong one (both are for testing). When it happens, it leaves a HMaster running with this:
> {noformat}
> "main" prio=10 tid=0x0000000041dd3800 nid=0x55d5 in Object.wait() [0x00007f3c7165a000]
>    java.lang.Thread.State: TIMED_WAITING (on object monitor)
> 	at java.lang.Object.wait(Native Method)
> 	- waiting on <0x00007f3bac94f528> (a java.lang.Object)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:382)
> 	- locked <0x00007f3bac94f528> (a java.lang.Object)
> 	at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:90)
> 	at org.apache.hadoop.hbase.master.HMasterCommandLine.stopMaster(HMasterCommandLine.java:160)
> 	at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:104)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
> 	at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1058)
> {noformat}
> And if I happen to restart that cluster right away, IT KILLS IT!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.