1996fanrui commented on code in PR #20232: URL: https://github.com/apache/flink/pull/20232#discussion_r1315731682
########## flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/SubtaskExecutionAttemptDetailsInfo.java: ########## @@ -203,7 +203,8 @@ public static SubtaskExecutionAttemptDetailsInfo create( final long now = System.currentTimeMillis(); final TaskManagerLocation location = execution.getAssignedResourceLocation(); - final String locationString = location == null ? "(unassigned)" : location.getHostname(); + final String locationString = + location == null ? "(unassigned)" : location.getLocationString(); Review Comment: Other rest api has this problem as well, such as: - JobVertexTaskManagersInfo.TaskManagersInfo#host - SubtasksTimesInfo.SubtaskTimeInfo#host - SubtasksAllAccumulatorsInfo.SubtaskAccumulatorsInfo#host -- 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