All Products
Search
Document Center

E-MapReduce:Resource Center

Last Updated:Mar 26, 2026

Store JAR files and custom scripts in the resource center so that your Workflow tasks can reference them at runtime. You can create a file directly in the console or upload one from your local machine.

Limits

Resource Limit
Total storage per account 5 GB
Single file upload size 500 MB
Supported file formats (create) txt, log, sh, bat, conf, cfg, py, java, sql, xml, hql, properties, json, yml, yaml, ini, js

Prerequisites

Before you begin, make sure that you have:

  • An Alibaba Cloud account or a RAM user with access to the EMR console

  • A workspace in EMR Workbench

Go to the File Manage page

Both the create and upload procedures start from the File Manage page. Follow these steps to get there.

  1. Log on to the EMR console.

  2. In the left-side navigation pane, choose EMR Workbench > Workflow.

  3. Find the target workspace and click Console in the Actions column.

  4. Click the Resources tab.

Create a file

Create a file directly in the console when you want to write script content inline.

  1. On the File Manage page, click Create File.

  2. On the File Details page, configure the following parameters:

    Parameter Description
    File Name Enter a name for the file.
    File Format Select a format from the drop-down list. Supported formats: txt, log, sh, bat, conf, cfg, py, java, sql, xml, hql, properties, json, yml, yaml, ini, js.
    File Content Enter the file content.
  3. Click Save.

Upload a file

Upload a pre-built JAR file or script from your local machine.

Important

Uploading a file with the same name as an existing file overwrites the original file.

  1. On the File Manage page, click Upload Files.

  2. In the Upload Files dialog box, click Upload Files and select a file from your local machine. The file name is automatically used as the value of File Name.

  3. Click Confirm.

What's next

After you create or upload a file, reference it in a Workflow task to use it at runtime. For details, see the task configuration documentation for your task type.