Artifacts
Introduction
Artifacts represent a packaged Apache Flink program. For example, a Java DataStream program packaged as a JAR or a Python Table API program packaged as Python script.
Artifacts are Project-scoped and zoned.
There are different types of Artifacts and each type comes with some type specific options.
Currently, only Artifacts of type Jar
are supported.
Lifecycle & Status
Artifacts are created in phase WaitingForUpload
.
Once a file was uploaded, the status changes to Ready
and the state.uri
field is set.
During uploading the state changes to Uploading
.
Should the upload fail or is aborted, the status changes back to WaitingForUpload
.
Once an Artifact is Ready
it is immutable and no further upload is accepted.
Jobs that reference this Artifact can be started now.
status.phase