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

Reply via email to