You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/08/20 18:38:53 UTC

[GitHub] [spark] zsxwing commented on a change in pull request #33793: [SPARK-36549][SQL] Add taskStatus supports multiple value to monitoring doc

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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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