Package org.apache.flink.runtime.client
Class DuplicateJobSubmissionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.flink.util.FlinkException
org.apache.flink.runtime.client.JobExecutionException
org.apache.flink.runtime.client.JobSubmissionException
org.apache.flink.runtime.client.DuplicateJobSubmissionException
- All Implemented Interfaces:
Serializable
Exception which is returned upon job submission if the submitted job is currently being executed.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether the duplicate job has already been finished.of(org.apache.flink.api.common.JobID jobId) ofGloballyTerminated(org.apache.flink.api.common.JobID jobId) Methods inherited from class org.apache.flink.runtime.client.JobExecutionException
getJobIDMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
of
-
ofGloballyTerminated
public static DuplicateJobSubmissionException ofGloballyTerminated(org.apache.flink.api.common.JobID jobId) -
isGloballyTerminated
public boolean isGloballyTerminated()Checks whether the duplicate job has already been finished.- Returns:
- true if the job has already finished, either successfully or as a failure
-