huwh commented on code in PR #22098: URL: https://github.com/apache/flink/pull/22098#discussion_r1128938614
########## flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/DefaultPreferredLocationsRetriever.java: ########## @@ -95,8 +95,7 @@ private CompletableFuture<Collection<TaskManagerLocation>> getPreferredLocations // consumers compared to the consumed partition group size. This is to avoid tasks // unevenly distributed on nodes when running batch jobs or running jobs in // session/standalone mode. - if ((double) consumedPartitionGroup.getConsumerVertexGroup().size() - / consumedPartitionGroup.size() + if (consumedPartitionGroup.getConsumerVertexGroup().size() Review Comment: typo: i -> in -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org