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

ISSUE-13520: Broker health check with TopicVersion.V2 failed #3487

Closed
sijie opened this issue Dec 27, 2021 · 0 comments
Closed

ISSUE-13520: Broker health check with TopicVersion.V2 failed #3487

sijie opened this issue Dec 27, 2021 · 0 comments
Labels

Comments

@sijie
Copy link
Member

sijie commented Dec 27, 2021

Original Issue: apache#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.

I cannot decide the best solution to fix it.

@sijie sijie added the type/bug label Dec 27, 2021
@sijie sijie closed this as completed Jan 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant