bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Kelly <iv...@apache.org>
Subject Re: Not able to start the bookkeeper
Date Fri, 25 Jan 2013 22:41:06 GMT
Hi Savitha,
> 
> 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 :
> org.apache.bookkeeper.bookie.BookieException$InvalidCookieException:
>                 at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:449)
>                 at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:524)
>                 at org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:96)
>                 at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:86)
>                 at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:361)

Have you had a previous bookkeeper install? The error means that the
bookie configuration has changed since an previous instance of the
bookie. We don't allow the journalDir,ledgerDir or bookiePort to
change for a bookie, as this could cause data to silently disappear.

If this is a fresh setup, try formatting. Look at the formatting
section on
http://zookeeper.apache.org/bookkeeper/docs/r4.2.0/bookkeeperConfig.html

-Ivan


Mime
View raw message