You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "guoxiaolongzte (JIRA)" <ji...@apache.org> on 2017/04/17 07:38:42 UTC
[jira] [Updated] (SPARK-20354) When I request access to the 'http:
//ip:port/api/v1/applications' link, return 'sparkUser' is empty in REST
API.
[ https://issues.apache.org/jira/browse/SPARK-20354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
guoxiaolongzte updated SPARK-20354:
-----------------------------------
Description:
When I request access to the 'http: //ip:port/api/v1/applications' link, get the json. I need the 'sparkUser' field specific value because my Spark big data management platform needs to filter through this field which user submits the application to facilitate my administration and query, but the current return of the json string is empty, causing me this Function can not be achieved, that is, I do not know who the specific application is submitted by this REST Api.
return json:
[ {
"id" : "app-20170417152053-0000",
"name" : "KafkaWordCount",
"attempts" : [ {
"startTime" : "2017-04-17T07:20:51.395GMT",
"endTime" : "1969-12-31T23:59:59.999GMT",
"lastUpdated" : "2017-04-17T07:20:51.395GMT",
"duration" : 0,
"sparkUser" : "",
"completed" : false,
"endTimeEpoch" : -1,
"startTimeEpoch" : 1492413651395,
"lastUpdatedEpoch" : 1492413651395
} ]
} ]
was:
/api/v1/applications’ return sparkUser is null in REST API.
/api/v1/applications’ return json follow:
[ {
"id" : "app-20170417151455-0003",
"name" : "KafkaWordCount",
"attempts" : [ {
"startTime" : "2017-04-17T07:14:51.949GMT",
"endTime" : "1969-12-31T23:59:59.999GMT",
"lastUpdated" : "2017-04-17T07:14:51.949GMT",
"duration" : 0,
"sparkUser" : " ",
"completed" : false,
"endTimeEpoch" : -1,
"startTimeEpoch" : 1492413291949,
"lastUpdatedEpoch" : 1492413291949
} ]
} ]
Summary: When I request access to the 'http: //ip:port/api/v1/applications' link, return 'sparkUser' is empty in REST API. (was: /api/v1/applications’ return sparkUser is null in REST API.)
> When I request access to the 'http: //ip:port/api/v1/applications' link, return 'sparkUser' is empty in REST API.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-20354
> URL: https://issues.apache.org/jira/browse/SPARK-20354
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.1.0
> Reporter: guoxiaolongzte
> Priority: Minor
>
> When I request access to the 'http: //ip:port/api/v1/applications' link, get the json. I need the 'sparkUser' field specific value because my Spark big data management platform needs to filter through this field which user submits the application to facilitate my administration and query, but the current return of the json string is empty, causing me this Function can not be achieved, that is, I do not know who the specific application is submitted by this REST Api.
> return json:
> [ {
> "id" : "app-20170417152053-0000",
> "name" : "KafkaWordCount",
> "attempts" : [ {
> "startTime" : "2017-04-17T07:20:51.395GMT",
> "endTime" : "1969-12-31T23:59:59.999GMT",
> "lastUpdated" : "2017-04-17T07:20:51.395GMT",
> "duration" : 0,
> "sparkUser" : "",
> "completed" : false,
> "endTimeEpoch" : -1,
> "startTimeEpoch" : 1492413651395,
> "lastUpdatedEpoch" : 1492413651395
> } ]
> } ]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org