dlg99 opened a new pull request, #3350: URL: https://github.com/apache/bookkeeper/pull/3350
### Motivation AR keeps on logging NPE during rereplication: ``` [ReplicationWorker] WARN org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicyImpl - Received exception while trying to get network location of bookie: ... java.lang.NullPointerException: null ``` The NPE seems to be easily avoidable, no need to throw exception and log it just to ignore. ### Changes Added check for bookie being present in the knownBookies map before accessing it. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
