To run Paimon table management operations — such as compacting small files and sorting data — in the Development Console, deploy the paimon-flink-action JAR as a JAR deployment. This topic covers downloading the required packages, uploading them as artifacts, and creating the deployment.
Prerequisites
Before you begin, ensure that you have:
-
Ververica Runtime (VVR) 8.0.5 or later (earlier versions do not support Paimon tables)
Download the JAR packages
Two JAR packages are required:
-
`paimon-flink-action`: The main action JAR. You specify this as the JAR URI in the deployment.
-
`paimon-ali-vvr`: A VVR-specific dependency. You attach this under Additional Dependencies.
`paimon-flink-action` (one version, compatible with all supported VVR versions):
`paimon-ali-vvr` (download the version that matches your VVR version and JDK):
| VVR version | JDK | Download |
|---|---|---|
| VVR 11.2 and later | JDK 11 | paimon-ali-vvr-11-vvp-1-ali-16.0-1.jar |
| VVR 11.2 and later | JDK 8 | paimon-ali-vvr-11-vvp-jdk8-1-ali-16.0-1.jar |
| VVR 11.1 | — | paimon-ali-vvr-11.1-1-ali-16.0-1.jar |
| VVR 8.0.11 | — | paimon-ali-vvr-8.0-vvp-1-ali-16.0-1.jar |
Create a JAR deployment
-
In the Development Console, go to Artifacts and click Upload Artifact. Upload both JAR packages you downloaded.
-
Go to O&M > Deployments, then click Create Deployment > JAR Deployment.
-
In the Create JAR Deployment dialog, fill in the following fields:
Field Description Example Deployment Mode Select Stream Mode or Batch Mode as needed. Batch Mode Deployment Name A name for this deployment. paimon-compaction Engine Version Select VVR 8.0.5 or later. vvr-8.0.5-flink-1.17 JAR URI Select the paimon-flink-actionJAR you uploaded.— Entry Point Class Leave blank. — Entry Point Main Arguments The action parameters passed to the main method. Specify based on the Paimon operation you want to run. For example, for data sorting, see Data consumption. — Additional Dependencies Select the paimon-ali-vvrJAR you uploaded. Make sure you have uploaded it to Artifacts in Step 1 before selecting it here.— -
Click Deploy.
-
Find the deployment in the list and click Start. For details, see Start a job.
What's next
-
To adjust job parameters after the deployment starts, see Configure a deployment.
-
To update parameters without restarting the job, see Dynamically update the parameter configuration for dynamic scaling.
-
For common performance optimizations for Paimon primary-key and append scalable tables, see Performance optimization.