Cool! Happy to hear this :-) Regards, Uma
________________________________________ From: Savitha Devi Inbasekaran [savith...@smartek21.com] Sent: Tuesday, January 29, 2013 12:21 PM To: bookkeeper-user@zookeeper.apache.org Subject: RE: Not able to start the bookkeeper Hi Uma, Thanks. My bookkeeper is running. Thanks, Savitha -----Original Message----- From: Uma Maheswara Rao G [mailto:mahesw...@huawei.com] Sent: Monday, January 28, 2013 1:01 PM To: bookkeeper-user@zookeeper.apache.org Subject: RE: Not able to start the bookkeeper Hi Savitha, Looks like, your configured directories are not having disk space /tmp/bk-data/current Please check and make some available space and try. Regards, Uma ________________________________________ From: Savitha Devi Inbasekaran [savith...@smartek21.com] Sent: Monday, January 28, 2013 12:56 PM To: bookkeeper-user@zookeeper.apache.org Subject: RE: Not able to start the bookkeeper Thanks Ivan. After formatting and starting the bookkeeper I got the following error 2013-01-28 12:54:22,856 - ERROR - [main:Journal$LastLogMark@177] - Problems reading from /tmp/bk-data/current/lastMark (this is okay if it is the first time starting this bookie 2013-01-28 12:54:22,937 - WARN - [Thread-1:LedgerDirsManager@98] - /tmp/bk-data/current is out of space. Adding it to filled dirs list 2013-01-28 12:54:22,978 - INFO - [BookieJournal-3181:JournalChannel@66] - Opening journal /tmp/bk-txn/current/779148.txn 2013-01-28 12:54:23,046 - INFO - [main:BookieServer@370] - Register shutdown hook successfully 2013-01-28 12:54:32,952 - ERROR - [Thread-1:LedgerDirsManager@79] - All ledger directories are non writable org.apache.bookkeeper.bookie.LedgerDirsManager$NoWritableLedgerDirException: All ledger directories are non writable at org.apache.bookkeeper.bookie.LedgerDirsManager.getWritableLedgerDirs(LedgerDirsManager.java:77) at org.apache.bookkeeper.bookie.LedgerDirsManager$LedgerDirsMonitor.run(LedgerDirsManager.java:188) 2013-01-28 12:54:32,956 - WARN - [Thread-1:Bookie@791] - ReadOnly mode is not enabled. Can be enabled by configuring 'readOnlyModeEnabled=true' in configuration.Shutting down bookie 2013-01-28 12:54:32,980 - INFO - [main-EventThread:ClientCnxn$EventThread@511] - EventThread shut down 2013-01-28 12:54:32,994 - INFO - [Thread-3:ZooKeeper@679] - Session: 0x13c7f9e7ea20008 closed 2013-01-28 12:54:32,998 - WARN - [BookieJournal-3181:Journal@549] - Journal exits when shutting down java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2052) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at org.apache.bookkeeper.bookie.Journal.run(Journal.java:497) 2013-01-28 12:54:33,041 - INFO - [NIOServerFactory-3181:NIOServerFactory@162] - NIOServerCnxn factory exitedloop. 2013-01-28 12:54:33,043 - INFO - [Thread-2:BookieServer$1@367] - Shut down bookie server successful Please help me Thanks, Savitha -----Original Message----- From: Ivan Kelly [mailto:iv...@apache.org] Sent: Saturday, January 26, 2013 4:11 AM To: bookkeeper-user@zookeeper.apache.org Subject: Re: Not able to start the bookkeeper 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