edit-icon download-icon

Create an execution plan

Last Updated: Dec 28, 2017

After job creation, if you want to run the job defined on the cluster, you need to create an execution plan. An execution plan can contain more than one job, and you can define their order.

For example, if one of your scenarios is: prepare data > process data > clean up data, you can define three jobs named “prepare-data”, “process-data”, and “cleanup-data”, and then create an execution plan to include these three jobs.

The steps to create an execution plan are as follows:

  1. Log on to the Execution Plan page of Alibaba Cloud E-MapReduce Console.

  2. Select the region.

  3. Click Create an execution plan in the upper right corner.

  4. There are two options on the Select Cluster Mode page, “Create on Demand” and “Existing Cluster.” “Create on Demand” means that you currently have no clusters, you intend to run the execution plan in a temporary cluster, and you will have the temporary cluster automatically released after running the execution plan. “Existing Cluster” means that you currently have at least one cluster running, and the execution plan must be submitted to and run in the existing cluster.

    1. If “Create on Demand” is selected, you must execute the same steps as creating the cluster, select the configuration of this on-demand cluster, and click OK.

    2. If “Existing Cluster” is selected, access the Select Cluster page. You can select the cluster to be associated with the execution plan.

  5. Click Next to enter the Configure Job page. The page will display the previously defined job list defined on the left, and the job list to be run as per the newly created execution plan on the right.

  6. Select jobs on the left to populate the right as per the execution order to implement definition of the execution plan. You can click the question mark to view the detailed parameters. After completion, click Next.

  7. Set the execution plan name.

  8. Select the scheduling policy as shown in the following figure.

    1. Periodic scheduling - The frequency and the time to start the scheduling is set.

    2. Manual execution - The execution plan can only be executed if you click it manually.

  9. Click Confirm to submit to complete the creation of the execution plan.

Thank you! We've received your feedback.