public class FileSystemJobResultStore extends AbstractThreadsafeJobResultStore
JobResultStore which persists job result data to an underlying
distributed filesystem.| Modifier and Type | Method and Description |
|---|---|
static String |
createDefaultJobResultStorePath(String baseDir,
String clusterId) |
void |
createDirtyResultInternal(JobResultEntry jobResultEntry) |
static FileSystemJobResultStore |
fromConfiguration(org.apache.flink.configuration.Configuration config,
Executor ioExecutor) |
Set<JobResult> |
getDirtyResultsInternal() |
boolean |
hasCleanJobResultEntryInternal(org.apache.flink.api.common.JobID jobId) |
boolean |
hasDirtyJobResultEntryInternal(org.apache.flink.api.common.JobID jobId) |
static boolean |
hasValidDirtyJobResultStoreEntryExtension(String filename) |
static boolean |
hasValidJobResultStoreEntryExtension(String filename) |
void |
markResultAsCleanInternal(org.apache.flink.api.common.JobID jobId) |
createDirtyResultAsync, getDirtyResults, hasCleanJobResultEntryAsync, hasDirtyJobResultEntryAsync, hasJobResultEntryAsync, markResultAsCleanAsync@VisibleForTesting public static boolean hasValidDirtyJobResultStoreEntryExtension(String filename)
@VisibleForTesting public static boolean hasValidJobResultStoreEntryExtension(String filename)
public static FileSystemJobResultStore fromConfiguration(org.apache.flink.configuration.Configuration config, Executor ioExecutor) throws IOException
IOExceptionpublic static String createDefaultJobResultStorePath(String baseDir, String clusterId)
public void createDirtyResultInternal(JobResultEntry jobResultEntry) throws IOException
createDirtyResultInternal in class AbstractThreadsafeJobResultStoreIOExceptionpublic void markResultAsCleanInternal(org.apache.flink.api.common.JobID jobId)
throws IOException,
NoSuchElementException
markResultAsCleanInternal in class AbstractThreadsafeJobResultStoreIOExceptionNoSuchElementExceptionpublic boolean hasDirtyJobResultEntryInternal(org.apache.flink.api.common.JobID jobId)
throws IOException
hasDirtyJobResultEntryInternal in class AbstractThreadsafeJobResultStoreIOExceptionpublic boolean hasCleanJobResultEntryInternal(org.apache.flink.api.common.JobID jobId)
throws IOException
hasCleanJobResultEntryInternal in class AbstractThreadsafeJobResultStoreIOExceptionpublic Set<JobResult> getDirtyResultsInternal() throws IOException
getDirtyResultsInternal in class AbstractThreadsafeJobResultStoreIOExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.