You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2019/05/10 11:15:16 UTC

[GitHub] [bookkeeper] zymap opened a new issue #2091: Can't use `bin/bookkeeper bookie` start a new bookie

zymap opened a new issue #2091: Can't use `bin/bookkeeper bookie` start a new bookie
URL: https://github.com/apache/bookkeeper/issues/2091
 
 
   **BUG REPORT**
   
   ***Describe the bug***
   When I start a zooKeeper than start a bookie by `bin/bookkeeper bookie`:
   ```
   2019-05-10 19:11:47,590 - ERROR - [main:Main@223] - Failed to build bookie server
   org.apache.bookkeeper.bookie.BookieException$InvalidCookieException: instanceId 0012d8f3-ca5e-412b-ae30-a6f9514be0de is not matching with 29c8d8ac-1b55-4de2-ba7a-53b64f8b0f20
   	at org.apache.bookkeeper.bookie.Cookie.verifyInternal(Cookie.java:142)
   	at org.apache.bookkeeper.bookie.Cookie.verify(Cookie.java:147)
   	at org.apache.bookkeeper.bookie.Bookie.verifyAndGetMissingDirs(Bookie.java:369)
   	at org.apache.bookkeeper.bookie.Bookie.checkEnvironmentWithStorageExpansion(Bookie.java:432)
   	at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:250)
   	at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:688)
   	at org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:137)
   	at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:106)
   	at org.apache.bookkeeper.server.service.BookieService.<init>(BookieService.java:43)
   	at org.apache.bookkeeper.server.Main.buildBookieServer(Main.java:301)
   	at org.apache.bookkeeper.server.Main.doMain(Main.java:221)
   	at org.apache.bookkeeper.server.Main.main(Main.java:203)
   ```
   
   ***To Reproduce***
   
   1. start a zooKeeper server
   2. start a bookie by `bin/bookkeeper bookie`
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services