sijie commented on a change in pull request #658: Fail earlier when 
encountering DNS issues
URL: https://github.com/apache/bookkeeper/pull/658#discussion_r146712866
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicyImpl.java
 ##########
 @@ -131,7 +131,7 @@ public void reloadCachedMappings() {
                 for (int i = 0; i < rNames.size(); ++i) {
                     if (rNames.get(i) == null) {
                         LOG.warn("Failed to resolve network location for {}, 
using default rack for it : {}.",
-                                rNames.get(i), defaultRack);
+                                names.get(i), defaultRack);
 
 Review comment:
   nice catch!

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


With regards,
Apache Git Services

Reply via email to