Hi,
I am trying to upgrade to 2.10.0 and can't get BookKeeper to function.
It is giving me the following hint;
06:59:37.838 [main] WARN org.apache.bookkeeper.net.DNS - Unable to
determine hostname for interface ens10
06:59:38.003 [main] INFO org.apache.bookkeeper.proto.BookieNettyServer
- Shutting down BookieNettyServer
06:59:38.061 [main] ERROR org.apache.bookkeeper.server.Main - Failed to
build bookie server
org.apache.bookkeeper.bookie.BookieException$InvalidCookieException:
Cookie [4
bookieHost: "10.20.0.11:3181"
journalDir: "/mnt/storage/pulsar/bookkeeper/journal"
ledgerDirs: "1\t/mnt/storage/pulsar/bookkeeper/ledgers"
instanceId: "3b77c0ca-ce47-477d-99f0-b425221a2352"
] is not matching with [4
bookieHost: "bookie-1"
journalDir: "/mnt/storage/pulsar/bookkeeper/journal"
ledgerDirs: "1\t/mnt/storage/pulsar/bookkeeper/ledgers"
instanceId: "3b77c0ca-ce47-477d-99f0-b425221a2352"
]
at
org.apache.bookkeeper.bookie.Cookie.verifyInternal(Cookie.java:136)
~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
So, "bookie-1" is the ID, and was never expected to be a hostname and in
the Cookie.java source, it seems that this comes from "journal" which I
presume is stored somewhere from earlier...
Does anyone have any clue on how to get this fixed?
Thanks
Niclas