Updated on 2024-02-02 GMT+08:00

Commissioning Applications

After configuring the sample code, export the JAR package and upload it to the node where the LakeFormation client is deployed.

  1. Export a JAR file.

    Choose Maven, locate the target project name, and double-click clean under Lifecycle to run the clean command of Maven.

    Choose Maven, locate the target project name, and double-click install under Lifecycle to run the install command of Maven.
    Figure 1 Maven clean and install

  2. Run the maven command to package the project and run the following command to upload the JAR package to the node where the LakeFormation client is located:

    java -cp lakeformation-lakecat-opensource-1.0.0-jar-with-dependencies.jar com.huawei.cloud.dalf.lakecat.examples.LakeFormationExample

    The command output is as follows.