horizonzy commented on issue #20918: URL: https://github.com/apache/pulsar/issues/20918#issuecomment-1670562876
What's the column named `service`, all the warning logs's service are `pulsar-bookkeeper`. If I'm not mistaken, this log should be printed by AutoRecovery in BookKeeper. In AutoRecovery, the default DNSToSwitchMapping is DefaultResolver, which cannot detect the rack info set in the Pulsar side. If you want BookKeeper to also be aware of the rack info, you need to configure reppDnsResolverClass=org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping. Please note that org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping is defined in Pulsar's code, and you need to start BookKeeper in the Pulsar side. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
