bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Savitha Devi Inbasekaran <>
Subject Not able to start the bookkeeper
Date Fri, 25 Jan 2013 11:36:11 GMT
Following are the steps which I followed to install bookkeeper and start the same.

*         Downloaded the bookkeeper version 4.2.1 from the link

*         Set the configuration parameter in bookkeeper-server/conf/bk_server.conf as follows:

*             bookiePort, Port number that the bookie listens on;

*             zkServers, Comma separated list of ZooKeeper servers with a hostname:port format;

*             journalDir, Path for Log Device (stores bookie write-ahead log);

*             ledgerDir, Path for Ledger Device (stores ledger entries);

*         Created /ledgers & /ledgers/available in zookeeper before running the cluster.
By using the below

*         bin/bookkeeper org.apache.zookeeper.ZooKeeperMain -server localhost:2181 create
/ledgers 0

*         bin/bookkeeper org.apache.zookeeper.ZooKeeperMain -server localhost:2181 create
/ledgers/available 0

*         Started zookeeper

*         Run the following command to start the bookie:

*         bin/bookkeeper bookie
But after starting the bookie the below error was observed.

2013-01-25 17:01:55,747 - WARN  - [main:Bookie@493] - INSTANCEID not exists in zookeeper.
Not considering it for data verification
2013-01-25 17:01:56,397 - ERROR - [main:Bookie@447] - Cookie exists in zookeeper, but not
in all local directories.  Directories missing cookie file are [/tmp/bk-txn/current, /tmp/bk-data/current]
2013-01-25 17:01:56,408 - ERROR - [main:BookieServer@375] - Exception running bookie server
                at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(
                at org.apache.bookkeeper.bookie.Bookie.<init>(
                at org.apache.bookkeeper.proto.BookieServer.newBookie(
                at org.apache.bookkeeper.proto.BookieServer.<init>(
                at org.apache.bookkeeper.proto.BookieServer.main(
any help could be appreciated. Thanks in advance.


View raw message