Stages Tab — Stages for All Jobs
Stages tab in web UI shows the current state of all stages of all jobs in a Spark application (i.e. a SparkContext) with two optional pages for the tasks and statistics for a stage (when a stage is selected) and pool details (when the application works in FAIR scheduling mode).
The title of the tab is Stages for All Jobs.
You can access the Stages tab under /stages
URL, i.e. http://localhost:4040/stages.
With no jobs submitted yet (and hence no stages to display), the page shows nothing but the title.
The Stages page shows the stages in a Spark application per state in their respective sections — Active Stages, Pending Stages, Completed Stages, and Failed Stages.
Note
|
The state sections are only displayed when there are stages in a given state. Refer to Stages for All Jobs. |
In FAIR scheduling mode you have access to the table showing the scheduler pools.
Internally, the page is represented by org.apache.spark.ui.jobs.StagesTab class.
The page uses the parent’s SparkUI to access required services, i.e. SparkContext, SparkConf, JobProgressListener, RDDOperationGraphListener, and to know whether kill is enabled or not.
Handling Kill Stage Request (from web UI) — handleKillRequest
Method
Caution
|
FIXME |
killEnabled
flag
Caution
|
FIXME |