This topic describes how to create an EMR JAR resource in the DataWorks console.


An E-MapReduce cluster is bound to the workspace where you want to create an EMR JAR resource. The E-MapReduce service is available in a workspace only after you bind an E-MapReduce cluster to the workspace on the Workspace Management page. For more information, see Configure a workspace.


  1. Go to the DataStudio page.
    1. Log on to the DataWorks console.
    2. In the left-side navigation pane, click Workspaces.
    3. In the top navigation bar, select the region where your workspace resides, find the workspace, and then click Data Analytics in the Actions column.
  2. On the Data Development tab, move the pointer over the Create icon icon and choose EMR > Resources > EMR JAR.
    Alternatively, you can click a workflow in the Business process section, right-click EMR, and then choose New > Resource > EMR JAR.
  3. In the New resource dialog box, set the parameters as required.
    New resource dialog box
    Parameter Description
    Resource Name The name of the resource to create. The resource name must have a suffix .jar.
    Destination folder The folder for storing the resource, which can be modified.
    Resource type The type of the resource. Only EMR JAR resources are supported.
    Engine instance The E-MapReduce cluster that uses the resource. Select a cluster from the drop-down list.
    Storage path The storage path of the resource.
    • If you select OSS, authorize DataWorks and E-MapReduce to connect to Object Storage Service (OSS) and then select a folder.
    • If you select HDFS, enter a storage path.
    Upload a file The JAR package to upload. Click Click Upload, select a local JAR package, and then click Open.
  4. Click Confirm.
  5. Click the Save icon and Submit icon icons in the toolbar to save and commit the resource to the development environment.