You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by gi...@git.apache.org on 2017/08/21 19:01:20 UTC

[GitHub] merlimat opened a new issue #707: Server error when unloading namespace

merlimat opened a new issue #707: Server error when unloading namespace
URL: https://github.com/apache/incubator-pulsar/issues/707
 
 
   #### Expected behavior
   
   Unloading a non-loaded namespace or a namespaces that have some non-loaded bundles should not fail.
   
   #### Actual behavior
   
   Client is getting 500 errors when unloading a namespace that contain non loaded bundles.
   
   ```
   java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Can't find owner of ServiceUnit: sample/standalone/my-ns/0x00000000_0x10000000
   	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
   	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
   	at org.apache.pulsar.broker.namespace.NamespaceService.getWebServiceUrl(NamespaceService.java:170)
   	at org.apache.pulsar.broker.web.PulsarWebResource.validateBundleOwnership(PulsarWebResource.java:407)
   	at org.apache.pulsar.broker.web.PulsarWebResource.validateNamespaceBundleOwnership(PulsarWebResource.java:382)
   	at org.apache.pulsar.broker.admin.Namespaces.unloadNamespaceBundle(Namespaces.java:770)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   ```
   
   #### Steps to reproduce
   
   Create a namespace with multiple bundles. Trigger unloading of that namespace. 
   
   
 
----------------------------------------------------------------
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