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