You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "nkeywal (Created) (JIRA)" <ji...@apache.org> on 2012/01/19 20:50:40 UTC

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

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: nkeywal
            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira