Each time a workflow runs — either manually or on a schedule — EMR Studio creates a workflow instance to track that execution. This page explains how to view instance details, inspect run logs and task history, and control instance execution using operations such as Stop, Pause, Rerun, and Recovery Failed.
Prerequisites
Before you begin, ensure that you have:
A workflow that is created and run. See the Create a workflow and Run a workflow sections of the "Manage a workflow" topic
View workflow instance details
Log on to the E-MapReduce (EMR) console.
In the left-side navigation pane, choose EMR Studio > Workflow.
Click the Project tab, then click the name of the project you want to manage.
In the left-side navigation pane of the project details page, choose Workflow > Workflow Instance.
On the Workflow Instance page, click the name of the instance to view its details.
View run logs
On the Workflow Instance page, click the name of the workflow instance.
On the DAG page, double-click a node.
In the Current node settings dialog box, click View log. In the dialog box that appears, you can view the run logs. To save the logs locally, click Download log.
View historical tasks
On the Workflow Instance page, click the name of the workflow instance.
On the DAG page, double-click a node.
In the dialog box, click View history. The Task Instance page appears, listing all tasks run in this workflow instance.
Operations on workflow instances
The Workflow Instance page provides the following operations:
| Operation | Description |
|---|---|
| Edit | You can edit only workflow instances that are run, fail, or are paused. |
| Rerun | You can rerun a workflow instance that is terminated. |
| Recovery Failed | You can retry to run a failed workflow instance from the failed node of the workflow instance. |
| Stop | Stops the worker process and performs the kill -9 operation. |
| Pause | The state of the workflow instance changes to Ready to pause. The system waits for the running workflow to complete and pauses the next workflow to be run. |
| Delete | Delete the workflow instance and the task instances that are run in the workflow instance. |
| Gantt | View a Gantt chart where the vertical axis shows the topological sequence of task instances run on the current workflow instance and the horizontal axis shows the time when the task instances are run. |