You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/04/11 03:08:13 UTC

[jira] [Resolved] (HBASE-5232) hbase-daemons.sh cannot be used do launch zookeeper independently from HBase

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

Andrew Purtell resolved HBASE-5232.
-----------------------------------
    Resolution: Incomplete

> hbase-daemons.sh cannot be used do launch zookeeper independently from HBase
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-5232
>                 URL: https://issues.apache.org/jira/browse/HBASE-5232
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Liochon
>            Priority: Minor
>
> The HBaseBook says in chapter 2.5.1
> {noformat}
> If you would like to run ZooKeeper yourself, independent of HBase start/stop, you would do the following
> ${HBASE_HOME}/bin/hbase-daemons.sh {start,stop} zookeeper
> Note that you can use HBase in this manner to spin up a ZooKeeper cluster, unrelated to HBase. Just make sure to set HBASE_MANAGES_ZK to false if you want it to stay up across HBase restarts so that when HBase shuts down, it doesn't take ZooKeeper down with it.
> {noformat}
> However, it does not work because the hbase-daemons script always calls zookeepers.sh which checks HBASE_MANAGES_ZK and does nothing when it's not set to true.
> Imho, the best solution would be to keep the documentation and change the scripts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)