public class FileJobGraphRetriever extends AbstractUserClassPathJobGraphRetriever
JobGraphRetriever
implementation which retrieves the JobGraph
from
a file on disk.Modifier and Type | Field and Description |
---|---|
static ConfigOption<String> |
JOB_GRAPH_FILE_PATH |
Constructor and Description |
---|
FileJobGraphRetriever(String jobGraphFile,
File usrLibDir) |
Modifier and Type | Method and Description |
---|---|
static FileJobGraphRetriever |
createFrom(Configuration configuration,
File usrLibDir) |
JobGraph |
retrieveJobGraph(Configuration configuration)
Retrieve the
JobGraph . |
getUserClassPaths
public static final ConfigOption<String> JOB_GRAPH_FILE_PATH
public FileJobGraphRetriever(@Nonnull String jobGraphFile, @Nullable File usrLibDir) throws IOException
IOException
public JobGraph retrieveJobGraph(Configuration configuration) throws FlinkException
JobGraphRetriever
JobGraph
.configuration
- cluster configurationJobGraph
.FlinkException
- if the JobGraph
could not be retrievedpublic static FileJobGraphRetriever createFrom(Configuration configuration, @Nullable File usrLibDir) throws IOException
IOException
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.