bipinprasad commented on a change in pull request #3379: URL: https://github.com/apache/storm/pull/3379#discussion_r581618776
########## File path: storm-server/src/main/java/org/apache/storm/scheduler/ISchedulingState.java ########## @@ -282,6 +285,18 @@ boolean wouldFit( */ Map<String, List<String>> getNetworkTopography(); + /** + * Get host -> rack map - the inverse of networkTopography. + */ + default Map<String, String> getHostToRack() { Review comment: This method won't change based on implementation - since it is just reversing a map provided by other implementation specific methods. ---------------------------------------------------------------- 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: us...@infra.apache.org