Stopping Spark batch applications

If required, stop a Spark batch application. You may want to stop a Spark batch application, for example, to fix an error that does not let an application run correctly.

Before you begin

  • If you did not submit the Spark batch application, you must be a cluster administrator or have the Instance Groups Control permission to stop another user's Spark batch application.
  • The Spark batch application must have been submitted in cluster mode, and must be in the Running or Waiting state.

About this task

You can stop Spark batch applications of an instance group that were submitted in cluster mode. You cannot, however, stop applications that are started from a notebook.

Procedure

You can stop Spark batch applications from the Instance Groups page or the My Applications & Notebooks page:

  • Follow these steps to stop Spark batch applications from the Instance Groups page:
    1. From the cluster management console, click Instance Groups.
    2. Select the instance group whose Spark batch applications you want to stop.
    3. Click the Applications tab.
    4. Select one or more of the Spark batch applications you want to stop and click Stop.
  • Follow these steps to stop Spark batch applications from the My Applications & Notebooks page:
    1. From the cluster management console, click My Applications & Notebooks.
    2. Locate the Spark batch application you want to stop. You can filter to show Spark batch applications in a specific instance group.
    3. Select one or more of the Spark batch applications you want to stop and click Stop.

Results

The Spark batch application moves to the Finished state.