[ 
https://issues.apache.org/jira/browse/SPARK-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160968#comment-16160968
 ] 

xianquan commented on SPARK-21943:
----------------------------------

!webUI.png!
Thank you for your reply.
In the spark to run the same task, why we can see in the webUI description 
information, although the program has not run to the last stage. In the webUI 
description information is obtained by what way? Whether there is a similar way 
in the rest API to get the description information, although the program has 
not run to the last stage.


> When I use rest Api (/ applications / [app-id] / jobs / [job-id]) to view 
> some of the jobs that are running jobs, the returned json information is 
> missing the “description” field.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-21943
>                 URL: https://issues.apache.org/jira/browse/SPARK-21943
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 2.1.1
>            Reporter: xianquan
>            Priority: Minor
>              Labels: rest_api
>         Attachments: webUI.png
>
>
> When I use rest Api (/ applications / [app-id] / jobs / [job-id]) to view 
> some of the jobs that are running jobs,some of  the returned json information 
> is missing the “description“” field.
> The returned json results are as follows:
>  [{
>   "jobId" : 7,
>   "name" : "run at AccessController.java:0",
>   "submissionTime" : "2017-09-07T09:44:53.632GMT",
>   "stageIds" : [ 19, 17, 18 ],
>   "jobGroup" : "cee1fb91-56bd-4d53-aed4-d409d21809da",
>  * "status" : "RUNNING*",
>   "numTasks" : 202,
>   "numActiveTasks" : 1,
>   "numCompletedTasks" : 0,
>   "numSkippedTasks" : 0,
>   "numFailedTasks" : 0,
>   "numActiveStages" : 2,
>   "numCompletedStages" : 0,
>   "numSkippedStages" : 0,
>   "numFailedStages" : 0
> },
> {
>   "jobId" : 6,
>   "name" : "run at AccessController.java:0",
>   "description" : "select * from test",
>   "submissionTime" : "2017-09-07T09:54:09.532GMT",
>   "stageIds" : [ 24 ],
>   "jobGroup" : "de8071d7-cb09-47af-a343-3d84946c2aff",
>   "status" : "RUNNING",
>   "numTasks" : 1,
>   "numActiveTasks" : 0,
>   "numCompletedTasks" : 0,
>   "numSkippedTasks" : 0,
>   "numFailedTasks" : 0,
>   "numActiveStages" : 1,
>   "numCompletedStages" : 0,
>   "numSkippedStages" : 0,
>   "numFailedStages" : 0
> }]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to