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

Ron Hu updated SPARK-34092:
---------------------------
    Description: 
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 hundreds 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.

  was:
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 hundreds 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 APIc 
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.


> 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
>            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 hundreds 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to