Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using Spark/Spark2x/ Spark O&M Management/ Configuring the Number of Lost Executors Displayed on the Web UI
Updated on 2025-08-22 GMT+08:00

Configuring the Number of Lost Executors Displayed on the Web UI

Scenario

On the Spark web UI, the Executor page can display information about lost executors. Executors of JDBCServer long tasks are dynamically recycled. Therefore, the number of displayed lost executors must be configured to fit the Executor page.

Configuration Description

  1. Install the Spark client.

    For details, see Installing a Client.

  2. Log in to the Spark client node as the client installation user.

    Modify the following parameters in the {Client installation directory}/Spark/spark/conf/spark-defaults.conf file on the Spark client.

    Table 1 Parameter description

    Parameter

    Description

    Example Value

    spark.ui.retainedDeadExecutors

    Specifies the maximum number of lost executors displayed on the Spark web UI.

    When an executor exits because a task is complete, resources are released, or an exception occurs, the Spark web UI retains the executor information for monitoring and analysis. This parameter specifies the maximum number of historical executor records that can be retained.

    100