[
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: [email protected]
For additional commands, e-mail: [email protected]