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.

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.
    Figure 1 Creating a package
    Table 1 Parameter description

    Parameter

    Description

    Package Type

    The following package types are supported:

    • JAR: JAR file
    • PyFile: User Python file
    • File: User file
    • ModelFile: User AI model 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.

    Tag

    Tags are used to identify cloud resources. A tag pair includes the Tag Key and Tag Value. If you want to use the same tag to identify multiple cloud resources, that is, to select the same tag from the drop-down list box for all services, you are advised to create predefined tags on the Tag Management Service (TMS). For details, see the Tag Management Service User Guide.

    NOTE:
    • A maximum of 10 tags can be added.
    • Only one tag value can be added to a tag key.
    • Tag Key: Enter a tag key name in the text box.
      NOTE:
      • A tag key contains a maximum of 36 characters. The first and last characters cannot be spaces. The following characters are not allowed: =*,<>\|/
      • If there are predefined tags, you can select a tag from the drop-down list box.
    • Tag Value: Enter a tag value in the text box.
      NOTE:
      • A tag value contains a maximum of 43 characters. The first and last characters cannot be spaces. The following characters are not allowed: =*,<>\|/
      • If there are predefined tags, you can select a tag from the drop-down list box.
  4. Click OK.

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