AngersZhuuuu opened a new pull request #31165:
URL: https://github.com/apache/spark/pull/31165


   ### What changes were proposed in this pull request?
   When we want to get stage's detail info with task information, it will 
return all tasks, the content is huge and always we just want to know some 
failed tasks/running tasks  with whole stage info to judge is a task has some 
problem. This pr support 
   user to use 
   ```
   /application/[appid]/stages/[stage-id]?details=true&taskStatus=xxx
   
/application/[appid]/stages/[stage-id]/[stage-attempted-id]?details=true&taskStatus=xxx
   ```
   to filter task details by task status
   
   
   ### Why are the changes needed?
   More flexiable Restful API
   
   ### Does this PR introduce _any_ user-facing change?
   User can use 
   ```
   /application/[appid]/stages/[stage-id]?details=true&taskStatus=xxx
   
/application/[appid]/stages/[stage-id]/[stage-attempted-id]?details=true&taskStatus=xxx
   ```
   to filter task details by task status
   
   
   ### How was this patch tested?
   Added
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to