You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "xianquan (JIRA)" <ji...@apache.org> on 2017/09/07 11:00:15 UTC

[jira] [Commented] (SPARK-21943) 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.

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

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

I would like to know why the return of the two json records, the first is with the description field information, the second did not
{ "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", "{color:#d04437}description{color}" : "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 } 

> 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
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org