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 2020/06/08 09:40:01 UTC

[GitHub] [pulsar] liudezhi2098 opened a new pull request #7204: fix return an explicit error to tell the application that the namespa…

liudezhi2098 opened a new pull request #7204:
URL: https://github.com/apache/pulsar/pull/7204


   Master Issue: #7163
   ## Motivation
   
   Sometimes get partitioned metadata will throws NullPointerException, because the NamespaceService not initialized yet , so needed a judgment .
   
   ## Modifications
   BrokerService
   ```java
           if(pulsar.getNamespaceService() == null){
               return FutureUtil.failedFuture(new NamingException("namespace service is not ready."));
           }
   ```
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat merged pull request #7204: fix return an explicit error to tell the application that the namespa…

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #7204:
URL: https://github.com/apache/pulsar/pull/7204


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org