rdhabalia opened a new pull request #1473: use v1 admin api for anti-affinity 
cluster endpoint
URL: https://github.com/apache/incubator-pulsar/pull/1473
 
 
   ### Motivation
   
   AdminApi should use v1 end-point for `getAntiAffinityNamespaces-api` as this 
api uses `clusters` and only present in v1-admin api 
   
   ```
   FAILED: namespaceAntiAffinity
   org.apache.pulsar.client.admin.PulsarAdminException$NotFoundException: HTTP 
404 Not Found
        at 
org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:173)
        at 
org.apache.pulsar.client.admin.internal.NamespacesImpl.getAntiAffinityNamespaces(NamespacesImpl.java:258)
        at 
org.apache.pulsar.broker.admin.AdminApiTest2.namespaceAntiAffinity(AdminApiTest2.java:691)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to