WencongLiu commented on code in PR #22341: URL: https://github.com/apache/flink/pull/22341#discussion_r1283925581
########## flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/FileSystemJobResultStore.java: ########## @@ -181,21 +185,19 @@ public void markResultAsCleanInternal(JobID jobId) throws IOException, NoSuchEle } @Override - public boolean hasDirtyJobResultEntryInternal(JobID jobId) throws IOException { + public Boolean hasDirtyJobResultEntryInternal(JobID jobId) throws IOException { return fileSystem.exists(constructDirtyPath(jobId)); } @Override - public boolean hasCleanJobResultEntryInternal(JobID jobId) throws IOException { + public Boolean hasCleanJobResultEntryInternal(JobID jobId) throws IOException { return fileSystem.exists(constructCleanPath(jobId)); } @Override public Set<JobResult> getDirtyResultsInternal() throws IOException { createBasePathIfNeeded(); - final FileStatus[] statuses = fileSystem.listStatus(this.basePath); - Review Comment: Fixed. -- 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