dlg99 commented on a change in pull request #425: BOOKKEEPER-1105: 
RackAwarePolicy: Failure to map node into rack may result in failure to add 
other nodes.
URL: https://github.com/apache/bookkeeper/pull/425#discussion_r133054599
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/net/DNSToSwitchMapping.java
 ##########
 @@ -41,14 +41,14 @@
      * <p/>
      *
      * If a name cannot be resolved to a rack, the implementation
-     * should return {@link NetworkTopology#DEFAULT_RACK}. This
+     * should return {@link NetworkTopology#DEFAULT_REGION_AND_RACK}. This
      * is what the bundled implementations do, though it is not a formal 
requirement
      *
      * @param names the list of hosts to resolve (can be empty)
      * @return list of resolved network paths.
      * If <i>names</i> is empty, the returned list is also empty
      */
-    public List<String> resolve(List<String> names);
+    public List<String> resolve(List<String> names, String defaultRack);
 
 Review comment:
   makes sense, fixed.
 
----------------------------------------------------------------
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