Myasuka 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_r394261661
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutor.java
##########
@@ -1647,6 +1660,30 @@ private boolean isJobManagerConnectionValid(JobID
jobId, JobMasterId jobMasterId
return jmConnection != null &&
Objects.equals(jmConnection.getJobMasterId(), jobMasterId);
}
+ private CompletableFuture<TransientBlobKey>
requestFileUploadByFilePath(String filePath, Time timeout, String fileTag) {
+ if (filePath != null && !filePath.isEmpty()) {
Review comment:
Can be simplified as `!StringUtils.isNullOrWhitespaceOnly(filePath)`
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services