jinglining commented on a change in pull request #11250: [FLINK-16302][rest]add 
log list and read log by name for taskmanager
URL: https://github.com/apache/flink/pull/11250#discussion_r393559002
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutorGateway.java
 ##########
 @@ -216,9 +227,18 @@
         */
        CompletableFuture<Boolean> canBeReleased();
 
+
+       /**
+        * Requests for the historical log file names on the TaskManager.
+        *
+        * @return A Tuple2 Array with all log file names with its length.
+        */
+       CompletableFuture<Collection<Tuple2<String, Long>>> 
requestLogList(@RpcTimeout Time timeout);
 
 Review comment:
   If the reuse type is ok, I'll use it.

----------------------------------------------------------------
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


With regards,
Apache Git Services

Reply via email to