zsxwing commented on a change in pull request #33793:
URL: https://github.com/apache/spark/pull/33793#discussion_r693146548
##########
File path: docs/monitoring.md
##########
@@ -477,7 +477,7 @@ can be identified by their `[attempt-id]`. In the API
listed below, when running
A list of all stages for a given application.
<br><code>?status=[active|complete|pending|failed]</code> list only
stages in the given state.
<br><code>?details=true</code> lists all stages with the task data.
- <br><code>?taskStatus=[RUNNING|SUCCESS|FAILED|KILLED|PENDING]</code>
lists stages only those tasks with the specified task status. Query parameter
taskStatus takes effect only when <code>details=true</code>.
+ <br><code>?taskStatus=[RUNNING|SUCCESS|FAILED|KILLED|PENDING]</code>
lists stages only those tasks with the specified task status. Query parameter
taskStatus takes effect only when <code>details=true</code>. This also supports
multiple <code>taskStatus</code> such as
<code>?details=true&taskStatus=SUCCESS&taskStatus=FAILED</code>.
Review comment:
Nit: we can try to point out it's OR:
`This also supports multiple <code>taskStatus</code> such as
<code>?details=true&taskStatus=SUCCESS&taskStatus=FAILED</code> which will
return all tasks matching any of specified task status`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]