You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/03/21 15:03:45 UTC

[GitHub] piotrblasiak opened a new issue #1411: Admin REST API not returning helpful error message

piotrblasiak opened a new issue #1411: Admin REST API not returning helpful error message
URL: https://github.com/apache/incubator-pulsar/issues/1411
 
 
   #### Expected behavior
   
   I do:
   
   `pulsar-admin persistent lookup persistent://myapp/global/entity-updates/test-entity-id`
   
   And expect the result, or at least a helpful error message.
   
   #### Actual behavior
   
   I get:
   
   `HTTP 412 Precondition Failed`
   
   When I check the broker log, I do find the actual error message ("2018-03-21 15:57:08,843 - ERROR - [pulsar-web-76-4:DestinationLookup@99] - Validation check failed: Global namespace does not have any clusters configured") but it would be nice to have that error message returned to the admin/client as well.
   
   #### Steps to reproduce
   
   Create "myapp" property and "entity-updates" namespace. Then try to do:
   
   `pulsar-admin persistent lookup persistent://myapp/global/entity-updates/test-entity-id`
   
   #### System configuration
   **Pulsar version**: 1.22.0-incubating
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services