| Modifier and Type | Method and Description |
|---|---|
static void |
ClientUtils.extractAndUploadJobGraphFiles(JobGraph jobGraph,
org.apache.flink.util.function.SupplierWithException<BlobClient,IOException> clientSupplier)
Extracts all files required for the execution from the given
JobGraph and uploads them using the BlobClient
from the given Supplier. |
static void |
ClientUtils.uploadJobGraphFiles(JobGraph jobGraph,
Collection<org.apache.flink.core.fs.Path> userJars,
Collection<org.apache.flink.api.java.tuple.Tuple2<String,org.apache.flink.core.fs.Path>> userArtifacts,
org.apache.flink.util.function.SupplierWithException<BlobClient,IOException> clientSupplier)
Uploads the given jars and artifacts required for the execution of the given
JobGraph using the BlobClient from
the given Supplier. |
| Modifier and Type | Method and Description |
|---|---|
JobManagerRunner |
JobManagerRunnerFactory.createJobManagerRunner(JobGraph jobGraph,
org.apache.flink.configuration.Configuration configuration,
RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
HeartbeatServices heartbeatServices,
JobManagerSharedServices jobManagerServices,
JobManagerJobMetricGroupFactory jobManagerJobMetricGroupFactory,
FatalErrorHandler fatalErrorHandler) |
JobManagerRunner |
DefaultJobManagerRunnerFactory.createJobManagerRunner(JobGraph jobGraph,
org.apache.flink.configuration.Configuration configuration,
RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
HeartbeatServices heartbeatServices,
JobManagerSharedServices jobManagerServices,
JobManagerJobMetricGroupFactory jobManagerJobMetricGroupFactory,
FatalErrorHandler fatalErrorHandler) |
CompletableFuture<Acknowledge> |
MiniDispatcher.submitJob(JobGraph jobGraph,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
DispatcherGateway.submitJob(JobGraph jobGraph,
org.apache.flink.api.common.time.Time timeout)
Submit a job to the dispatcher.
|
CompletableFuture<Acknowledge> |
Dispatcher.submitJob(JobGraph jobGraph,
org.apache.flink.api.common.time.Time timeout) |
| Constructor and Description |
|---|
MiniDispatcher(RpcService rpcService,
String endpointId,
org.apache.flink.configuration.Configuration configuration,
HighAvailabilityServices highAvailabilityServices,
GatewayRetriever<ResourceManagerGateway> resourceManagerGatewayRetriever,
BlobServer blobServer,
HeartbeatServices heartbeatServices,
JobManagerMetricGroup jobManagerMetricGroup,
String metricQueryServicePath,
ArchivedExecutionGraphStore archivedExecutionGraphStore,
JobManagerRunnerFactory jobManagerRunnerFactory,
FatalErrorHandler fatalErrorHandler,
HistoryServerArchivist historyServerArchivist,
JobGraph jobGraph,
ClusterEntrypoint.ExecutionMode executionMode) |
SingleJobSubmittedJobGraphStore(JobGraph jobGraph) |
| Modifier and Type | Method and Description |
|---|---|
JobGraph |
FileJobGraphRetriever.retrieveJobGraph(org.apache.flink.configuration.Configuration configuration) |
JobGraph |
JobGraphRetriever.retrieveJobGraph(org.apache.flink.configuration.Configuration configuration)
Retrieve the
JobGraph. |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionGraph |
ExecutionGraphBuilder.buildGraph(ExecutionGraph prior,
JobGraph jobGraph,
org.apache.flink.configuration.Configuration jobManagerConfig,
ScheduledExecutorService futureExecutor,
Executor ioExecutor,
SlotProvider slotProvider,
ClassLoader classLoader,
CheckpointRecoveryFactory recoveryFactory,
org.apache.flink.api.common.time.Time rpcTimeout,
RestartStrategy restartStrategy,
org.apache.flink.metrics.MetricGroup metrics,
BlobWriter blobWriter,
org.apache.flink.api.common.time.Time allocationTimeout,
org.slf4j.Logger log)
Builds the ExecutionGraph from the JobGraph.
|
static ExecutionGraph |
ExecutionGraphBuilder.buildGraph(ExecutionGraph prior,
JobGraph jobGraph,
org.apache.flink.configuration.Configuration jobManagerConfig,
ScheduledExecutorService futureExecutor,
Executor ioExecutor,
SlotProvider slotProvider,
ClassLoader classLoader,
CheckpointRecoveryFactory recoveryFactory,
org.apache.flink.api.common.time.Time rpcTimeout,
RestartStrategy restartStrategy,
org.apache.flink.metrics.MetricGroup metrics,
int parallelismForAutoMax,
BlobWriter blobWriter,
org.apache.flink.api.common.time.Time allocationTimeout,
org.slf4j.Logger log)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
JsonPlanGenerator.generatePlan(JobGraph jg) |
| Modifier and Type | Method and Description |
|---|---|
JobGraph |
SubmittedJobGraph.getJobGraph()
Returns the submitted
JobGraph. |
| Constructor and Description |
|---|
SubmittedJobGraph(JobGraph jobGraph)
Creates a
SubmittedJobGraph. |
| Modifier and Type | Method and Description |
|---|---|
JobGraph |
JobManagerRunner.getJobGraph() |
| Constructor and Description |
|---|
JobManagerRunner(JobGraph jobGraph,
JobMasterServiceFactory jobMasterFactory,
HighAvailabilityServices haServices,
LibraryCacheManager libraryCacheManager,
Executor executor,
FatalErrorHandler fatalErrorHandler)
Exceptions that occur while creating the JobManager or JobManagerRunner are directly
thrown and not reported to the given
FatalErrorHandler. |
JobMaster(RpcService rpcService,
JobMasterConfiguration jobMasterConfiguration,
ResourceID resourceId,
JobGraph jobGraph,
HighAvailabilityServices highAvailabilityService,
SlotPoolFactory slotPoolFactory,
SchedulerFactory schedulerFactory,
JobManagerSharedServices jobManagerSharedServices,
HeartbeatServices heartbeatServices,
JobManagerJobMetricGroupFactory jobMetricGroupFactory,
OnCompletionActions jobCompletionActions,
FatalErrorHandler fatalErrorHandler,
ClassLoader userCodeLoader) |
| Modifier and Type | Method and Description |
|---|---|
JobManagerJobMetricGroup |
DefaultJobManagerJobMetricGroupFactory.create(JobGraph jobGraph) |
JobManagerJobMetricGroup |
JobManagerJobMetricGroupFactory.create(JobGraph jobGraph)
Create a new
JobManagerJobMetricGroup. |
JobManagerJobMetricGroup |
UnregisteredJobManagerJobMetricGroupFactory.create(JobGraph jobGraph) |
JobMasterService |
JobMasterServiceFactory.createJobMasterService(JobGraph jobGraph,
OnCompletionActions jobCompletionActions,
ClassLoader userCodeClassloader) |
JobMaster |
DefaultJobMasterServiceFactory.createJobMasterService(JobGraph jobGraph,
OnCompletionActions jobCompletionActions,
ClassLoader userCodeClassloader) |
| Modifier and Type | Method and Description |
|---|---|
JobManagerJobMetricGroup |
JobManagerMetricGroup.addJob(JobGraph job) |
JobManagerJobMetricGroup |
UnregisteredMetricGroups.UnregisteredJobManagerMetricGroup.addJob(JobGraph job) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.JobExecutionResult |
JobExecutor.executeJobBlocking(JobGraph jobGraph)
Run the given job and block until its execution result can be returned.
|
org.apache.flink.api.common.JobExecutionResult |
MiniCluster.executeJobBlocking(JobGraph job)
This method runs a job in blocking mode.
|
void |
MiniCluster.runDetached(JobGraph job)
This method executes a job in detached mode.
|
CompletableFuture<org.apache.flink.api.common.JobSubmissionResult> |
MiniCluster.submitJob(JobGraph jobGraph) |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.