You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2021/03/27 21:27:00 UTC

[jira] [Assigned] (SPARK-34092) support filtering by task status in REST API call for a specific stage

     [ https://issues.apache.org/jira/browse/SPARK-34092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean R. Owen reassigned SPARK-34092:
------------------------------------

    Assignee: angerszhu

> support filtering by task status in REST API call for a specific stage
> ----------------------------------------------------------------------
>
>                 Key: SPARK-34092
>                 URL: https://issues.apache.org/jira/browse/SPARK-34092
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.2.0
>            Reporter: angerszhu
>            Assignee: angerszhu
>            Priority: Major
>
> When we want to get a specific stage's detail info with task information, it will return all tasks.  The content is huge for a stage with thousands of tasks.  And we often just want to know some failed tasks/running tasks with whole stage info to judge whether or not a task has some problem.  Query parameter taskStatus can be used to filter the tasks meeting a specific status in the REST API call for a given stage.   We want to support the following REST API calls: 
> applications/<application_id>/<application_attempt>/stages/<stage_id>?details=true&taskStatus=[RUNNING|SUCCESS|FAILED|KILLED|PENDING]
> applications/<application_id>/<application_attempt>/stages/<stage_id>/<stage_attempt>?details=true&taskStatus=[RUNNING|SUCCESS|FAILED|KILLED|PENDING]
> Need to set details=true in order to drill down to the task level within a specified stage.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org