isunjin commented on a change in pull request #6684: [FLINK-10205] Batch Job: InputSplit Fault tolerant for DataSource… URL: https://github.com/apache/flink/pull/6684#discussion_r221019265
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/Execution.java ########## @@ -307,6 +310,12 @@ boolean tryAssignResource(final LogicalSlot logicalSlot) { } } + public InputSplit getNextInputSplit() { + final LogicalSlot slot = this.getAssignedResource(); + final String host = slot != null ? slot.getTaskManagerLocation().getHostname() : null; Review comment: this is actually a refactor of original code (see line 577 of JobMaster.java), we keep the logic same. ---------------------------------------------------------------- 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