Updated on 2022-08-16 GMT+08:00

Creating a Package

DLI allows you to submit program packages in batches to the general-use queue for running.

If you need to update a package, you can use the same package or file to upload it to the same location (in the same group) on DLI to overwrite the original package or file.

Prerequisites

All software packages must be uploaded to OBS for storage in advance.

Procedure

  1. On the left of the management console, choose Data Management > Package Management.
  2. On the Package Management page, click Create in the upper right corner to create a package.
  3. In the displayed Create Package dialog box, set related parameters by referring to Table 1.
    Table 1 Parameter description

    Parameter

    Description

    Package Type

    The following package types are supported:

    • JAR: JAR file
    • PyFile: User Python file
    • File: User file

    Package File Path

    Select the OBS path of the corresponding packages.

    NOTE:
    • The packages must be uploaded to OBS for storage in advance.
    • Only files can be selected.

    Group Policy

    You can select Use existing group, Use new group, or No grouping.

    Group Name

    • Use existing group: Select an existing group.
    • Use new group: Enter a custom group name.
    • No grouping: No need to select or enter a group name.
    NOTE:
    • If you select a group, the permission management refers to the permissions of the corresponding package group.
    • If no group is selected, the permission management refers to the permissions of the corresponding package.

    For details about how to manage permissions on package groups and packages, see Managing Permissions on Packages and Package Groups.

  4. Click OK.

    After a package is created, you can view and select the package for use on the Package Management page.