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 2020/09/04 01:37:46 UTC
[GitHub] [bookkeeper] liangyuanpeng commented on issue #2212: Docker-compose example not working
liangyuanpeng commented on issue #2212:
URL: https://github.com/apache/bookkeeper/issues/2212#issuecomment-686849026
Still not working.
I had try `docker/docker-compose.yml` and `deploy/docker-compose/docker-compose.yaml`
```
bookie1_1 | 2020-09-04 01:28:59,578 - ERROR - [main:ZKRegistrationManager@379] - BookKeeper metadata doesn't exist in zookeeper. Has the cluster been initialized? Try running bin/bookkeeper shell metaformat
bookie1_1 | 2020-09-04 01:28:59,580 - INFO - [main:BookieNettyServer@424] - Shutting down BookieNettyServer
bookie1_1 | 2020-09-04 01:28:59,593 - ERROR - [main:Main@223] - Failed to build bookie server
bookie1_1 | org.apache.bookkeeper.bookie.BookieException$MetadataStoreException: Failed to get cluster instance id
bookie1_1 | at org.apache.bookkeeper.discover.ZKRegistrationManager.getClusterInstanceId(ZKRegistrationManager.java:392)
bookie1_1 | at org.apache.bookkeeper.bookie.Bookie.checkEnvironmentWithStorageExpansion(Bookie.java:408)
bookie1_1 | at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:252)
bookie1_1 | at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:691)
bookie1_1 | at org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:137)
bookie1_1 | at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:106)
bookie1_1 | at org.apache.bookkeeper.server.service.BookieService.<init>(BookieService.java:43)
bookie1_1 | at org.apache.bookkeeper.server.Main.buildBookieServer(Main.java:301)
bookie1_1 | at org.apache.bookkeeper.server.Main.doMain(Main.java:221)
bookie1_1 | at org.apache.bookkeeper.server.Main.main(Main.java:203)
bookie1_1 | Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for BookKeeper metadata
bookie1_1 | at org.apache.bookkeeper.discover.ZKRegistrationManager.getClusterInstanceId(ZKRegistrationManager.java:382)
bookie1_1 | ... 9 more
docker_bookie1_1 exited with code 2
```
Actually, `deploy/kubernetes/gke/bookkeeper.yaml` have same problem.
----------------------------------------------------------------
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