| Package | Description |
|---|---|
| org.apache.flink.runtime.client |
| Modifier and Type | Method and Description |
|---|---|
static JobListeningContext |
JobClient.attachToRunningJob(org.apache.flink.api.common.JobID jobID,
org.apache.flink.configuration.Configuration configuration,
akka.actor.ActorSystem actorSystem,
HighAvailabilityServices highAvailabilityServices,
scala.concurrent.duration.FiniteDuration timeout,
boolean sysoutLogUpdates)
Attaches to a running Job using the JobID.
|
static JobListeningContext |
JobClient.submitJob(akka.actor.ActorSystem actorSystem,
org.apache.flink.configuration.Configuration config,
HighAvailabilityServices highAvailabilityServices,
JobGraph jobGraph,
scala.concurrent.duration.FiniteDuration timeout,
boolean sysoutLogUpdates,
ClassLoader classLoader)
Submits a job to a Flink cluster (non-blocking) and returns a JobListeningContext which can be
passed to
awaitJobResult to get the result of the submission. |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.flink.api.common.JobExecutionResult |
JobClient.awaitJobResult(JobListeningContext listeningContext)
Given a JobListeningContext, awaits the result of the job execution that this context is bound to
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.