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

Apache Spark reassigned SPARK-20218:
------------------------------------

    Assignee:     (was: Apache Spark)

> '/applications/[app-id]/stages' in REST API,add description.
> ------------------------------------------------------------
>
>                 Key: SPARK-20218
>                 URL: https://issues.apache.org/jira/browse/SPARK-20218
>             Project: Spark
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 2.1.0
>            Reporter: guoxiaolongzte
>            Priority: Minor
>
> '/applications/[app-id]/stages' in rest api.status should add description 
> '?status=[active|complete|pending|failed] list only stages in the state.'
> Now the lack of this description, resulting in the use of this api do not 
> know the use of the status through the brush stage list.
> code:
>   @GET
>   def stageList(@QueryParam("status") statuses: JList[StageStatus]): 
> Seq[StageData] = {
>     val listener = ui.jobProgressListener
>     val stageAndStatus = AllStagesResource.stagesAndStatus(ui)
>     val adjStatuses = {
>       if (statuses.isEmpty()) {
>         Arrays.asList(StageStatus.values(): _*)
>       } else {
>         statuses
>       }
>     };



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to