hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nkeywal (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5232) hbase-daemons.sh cannot be used do launch zookeeper independently from HBase
Date Thu, 19 Jan 2012 19:50:40 GMT
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

        

Mime
View raw message