All Products
Search
Document Center

DataWorks:Manage MaxCompute resources

Last Updated:Oct 31, 2025

On the MaxCompute Resources page, you can view the resources of your MaxCompute compute engine and their change history. You can also add resource files to workflows in the Data Development pane with a single click.

Limits

The MaxCompute resource feature supports only resources that are uploaded using the MaxCompute client (odpscmd) and are no larger than 500 MB. You can load these resources into a specific workflow in Data Development (DataStudio) to visually manage and use them.

View resources

  1. Go to the DataStudio page.

    Log on to the DataWorks console. In the top navigation bar, select the desired region. In the left-side navigation pane, choose Data Development and O&M > Data Development. On the page that appears, select the desired workspace from the drop-down list and click Go to Data Development.

  2. In the navigation pane on the left, expand MaxCompute and click MaxCompute Resources.

    1

    No.

    Icon

    Description

    切换

    By default, the MaxCompute Resources page displays resources in the Production Environment. To view resources that are committed but not published, click the 切换环境 icon to switch the environment.查看资源

    Note

    Workspaces in basic mode have only a production environment.

    1

    Click this icon to filter resources by type.

    Note

    JAR, Archive, File, and Python resource types are supported.

    排序

    Click this icon to change the sort order. By default, items are sorted by update time in descending order.

  3. Click a resource to view details such as Resource Name, Resource Type, and Resource Size.

    • The resources listed in the MaxCompute Resources pane are not necessarily the same as the resources in the Data Development pane.

      • Resources in the Data Development pane appear in the MaxCompute Resources pane for the development or production environment only after you select the Upload As ODPS Resource option and then Submit or Publish them.

      • Resource files uploaded from channels other than DataWorks, such as the MaxCompute client and MaxCompute Studio, do not appear in the Data Development pane but do appear in the MaxCompute Resources pane. There may be a latency before resources are displayed in the MaxCompute Resources pane. You can run commands to find the required resources. For more information, see Appendix 1: Manage resources using commands.

    • When you use the resources listed in the MaxCompute Resources pane, be aware of the differences from the resources in the Data Development pane.

      Scenario

      Data Development

      MaxCompute Resources

      Use in an ODPS SQL node

      Yes (must be uploaded to MaxCompute)

      Yes

      Use in an ODPS MR node

      Yes (must be uploaded to MaxCompute)

      No

      Use in a Shell node

      Yes

      No

      Use in an ad hoc query

      Yes (must be uploaded to MaxCompute)

      Yes

      Create a function in a workflow

      Yes (must be uploaded to MaxCompute)

      No

Add a resource to the Data Development pane

The following figure shows the process of adding a resource to the Data Development pane.

  1. Find the required resource and click Add To Data Development.

    添加到数据开发

    This operation quickly syncs resource files from the MaxCompute Resources pane to a workflow in Data Development.

  2. In the Create Resource dialog box, enter a Resource Name, select a Destination Folder, click Click To Upload, and then select the file that you want to upload.

    During the upload, you can perform the following operations:

    • Rename the resource.

    • Select a destination folder to change the workflow where the resource is located.

    During the upload, you cannot perform the following operations:

    • Change the resource type.

    • Select or deselect the Upload as ODPS Resource option.

    • Re-upload the file.

  3. After you complete the configuration, click Create to create the resource.

    Note
    • After you create a resource, you must manually save, submit, and publish it. This process is the same as for other resources in a workflow. For more information, see Create and use MaxCompute resources.

    • When you submit and publish a resource, it is also uploaded to the development and production environments of MaxCompute. The corresponding resource file in the MaxCompute Resources pane is also updated.

    • Because resource names must be unique within a MaxCompute project, adding a resource with a name that already exists in the workspace overwrites the original resource. If the original resource is in a different workflow, it is overwritten and moved to the new workflow.

View the change history of a resource

For the required resource, click View Change History to view its creation and modification records.