Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

ISSUE-6343: Broker failed to start when specifying a list of bookie groups #715

Closed
sijie opened this issue Feb 17, 2020 · 0 comments
Closed

Comments

@sijie
Copy link
Member

sijie commented Feb 17, 2020

Original Issue: apache#6343


Describe the bug
When set bookkeeperClientIsolationGroups to a list of bookie groups (e.g. group1,group2), pulsar service failed to start:

18:33:22.906 [main] ERROR org.apache.pulsar.PulsarBrokerStarter - Failed to start pulsar service.
org.apache.pulsar.broker.PulsarServerException: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
        at org.apache.pulsar.broker.PulsarService.start(PulsarService.java:526) ~[pulsar-broker-2.6.0-SNAPSHOT.jar:2.6.0-SNAPSHOT]
        at org.apache.pulsar.PulsarBrokerStarter$BrokerStarter.start(PulsarBrokerStarter.java:274) ~[pulsar-broker-2.6.0-SNAPSHOT.jar:2.6.0-SNAPSHOT]
        at org.apache.pulsar.PulsarBrokerStarter.main(PulsarBrokerStarter.java:339) [pulsar-broker-2.6.0-SNAPSHOT.jar:2.6.0-SNAPSHOT]

Expected behavior
Pulsar service should start successfully when specifying a list of bookie groups.

Describe the solution you'd like
Add type judgment when get String property.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant