gaozhangmin opened a new issue #13520:
URL: https://github.com/apache/pulsar/issues/13520


   1、Broker health check failed with `TopicVersion.V2` but it's ok with 
`TopicVersion.V1`, The failed reason is:
   ```
   2021-12-27T13:21:17,350+0800 [pulsar-io-4-71] WARN  
org.apache.pulsar.client.impl.BinaryProtoLookupService - 
[persistent://pulsar/hidden-ip:8080/healthcheck] failed to get Partitioned 
metadata : {"errorMsg":"Policies not found for pulsar/hidden-ip:8080 
namespace","reqId":1293596554348340272, "remote":"", "local":""}
   org.apache.pulsar.client.api.PulsarClientException$BrokerMetadataException: 
{"errorMsg":"Policies not found for pulsar/hidden-ip:8080 
namespace","reqId":1293596554348340272, "remote":"", "local":""}
           at 
org.apache.pulsar.client.impl.ClientCnx.getPulsarClientException(ClientCnx.java:1154)
 ~[org.apache.pulsar-pulsar-client-original-2.10.0-SNAPSHOT.jar:2.10.0-SNAPSHOT]
           at 
org.apache.pulsar.client.impl.ClientCnx.handlePartitionResponse(ClientCnx.java:607)
 [org.apache.pulsar-pulsar-client-original-2.10.0-SNAPSHOT.jar:2.10.0-SNAPSHOT]
           at 
org.apache.pulsar.common.protocol.PulsarDecoder.channelRead(PulsarDecoder.java:130)
 [org.apache.pulsar-pulsar
   ```
   Policies not found for namespace  `pulsar/host:8080` under  znode 
`admin/policies`. 
   
   But Why v1 is successful?  v1's healthcheck topic name is global, 
`checkReplication` is skipped.


-- 
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]


Reply via email to