Github user kishorvpatil commented on a diff in the pull request: https://github.com/apache/storm/pull/2400#discussion_r148882086 --- Diff: storm-server/src/main/java/org/apache/storm/scheduler/resource/ResourceAwareScheduler.java --- @@ -62,123 +70,144 @@ public void prepare(Map<String, Object> conf) { @Override public void schedule(Topologies topologies, Cluster cluster) { - //initialize data structures - for (TopologyDetails td : cluster.getTopologies()) { + Map<String, User> userMap = getUsers(cluster); + List<TopologyDetails> orderedTopologies = new ArrayList<>(schedulingPriorityStrategy.getOrderedTopologies(cluster, userMap)); + LOG.info("Ordered list of topologies is: {}", orderedTopologies.stream().map((t) -> t.getId()).collect(Collectors.toList())); --- End diff -- I would leave this at debug.
---