You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Yu Li <ca...@gmail.com> on 2011/03/22 07:55:51 UTC

Defect or work as designed? stop-hbase.sh hangs there and have to manually kill the master daemon

Hi all,

I noticed that using hbase 0.20.6, if we set HBASE_MANAGES_ZK to false in
hbase-env.sh, and set the hbase.zookeeper.quorum property in hbase-site.xml,
but don't start any zookeeper service in the cluster, then hbase
master/regionserver would keep on trying to connect to the zookeeper server
but always fails. In this situation, if we tried to stop hbase using the
"stop-hbase.sh" script, it would hangs there saying "stop master..." till we
manually kill the master daemon.

I've searched across the internet, and it seems someone else has also met
with similar problem, but there's no JIRA tracking on this. So could anybody
tell me whether this is a defect? If not, is there any other way to stop the
daemon rather than manually kill the hbase master process? Many thanks!

-- 
Best Regards,
Li Yu

Re: Defect or work as designed? stop-hbase.sh hangs there and have to manually kill the master daemon

Posted by Stack <st...@duboce.net>.
Sounds like a bug.

Can you try on 0.90.1 and see if it has same issue?

Thanks,
St.Ack

On Mon, Mar 21, 2011 at 11:55 PM, Yu Li <ca...@gmail.com> wrote:
> Hi all,
>
> I noticed that using hbase 0.20.6, if we set HBASE_MANAGES_ZK to false in
> hbase-env.sh, and set the hbase.zookeeper.quorum property in hbase-site.xml,
> but don't start any zookeeper service in the cluster, then hbase
> master/regionserver would keep on trying to connect to the zookeeper server
> but always fails. In this situation, if we tried to stop hbase using the
> "stop-hbase.sh" script, it would hangs there saying "stop master..." till we
> manually kill the master daemon.
>
> I've searched across the internet, and it seems someone else has also met
> with similar problem, but there's no JIRA tracking on this. So could anybody
> tell me whether this is a defect? If not, is there any other way to stop the
> daemon rather than manually kill the hbase master process? Many thanks!
>
> --
> Best Regards,
> Li Yu
>