All Products
Search
Document Center

Realtime Compute for Apache Flink:Manage artifacts

Last Updated:Jun 24, 2025

Realtime Compute for Apache Flink creates directories in the Object Storage Service (OSS) bucket that is associated with your Realtime Compute for Apache Flink workspace when you purchase the workspace. The directories are used to store data files that are required for or generated during deployment running. Data files include checkpoints, savepoints, logs, and JAR packages. This topic describes how to upload resources to an OSS bucket. This topic also describes the content of each directory in the OSS bucket.

OSS Bucket

Directory description

If you set the storage type to OSS Bucket when you purchase a Realtime Compute for Apache Flink workspace, Realtime Compute for Apache Flink creates directories in the OSS bucket to store related files. The following table describes the directories.

Directory

Content

artifacts

Stores the uploaded JAR packages, JAR dependencies, Python files, and Python dependencies.

sql-artifacts

Stores the files on which user-defined functions (UDFs) and connectors depend.

flink-jobs

Stores high availability (HA) information and system checkpoint data of Realtime Compute for Apache Flink deployments.

flink-savepoints

Stores the savepoint files that are generated after you click Create Savepoint on the Deployments page of the development console of Realtime Compute for Apache Flink.

flink-sessionclusters

Stores the HA information and system checkpoint information of a session cluster.

plan

Stores the resource information that you configure when the expert mode is used.

logs

Stores the logs of a deployment that is configured to export logs to OSS.

Upload, download, or delete artifacts

  1. Log on to the management console of Realtime Compute for Apache Flink.

  2. Find the target workspace and click Console in the Actions column.

  3. In the OSS console, create a cross-origin resource sharing (CORS) rule for the OSS bucket associated with your Flink workspace.

    Proper CORS configuration is required for successful uploads:

    1. For Origin, enter https://vvpsg.console.alibabacloud.com.

    2. For Allowed Methods, select all methods.

    3. For Allowed Headers, enter *.

  4. In the left-side navigation pane, click Artifacts. On the page that appears, you can perform the following operations:

    • Upload artifacts: Click Upload Artifact and select a local file that you want to upload. Alternatively, drag the file that you want to upload to the artifacts list.

      After the file is uploaded, the file path is in the format of oss://<Associated OSS bucket name>/artifacts/namespaces/<Namespace name>/<File name>. You can click the file name to copy the path.

      For information about namespace names, see Manage namespaces.

    • Download artifacts: Click Download in the Actions column of a file to download the file in the OSS bucket to your machine.

    • Delete artifacts: Click Delete in the Actions column of a file to delete the file from the OSS bucket.

References