AbstractApplicationResource
is a BaseAppResource with a set of URI paths that are common across implementations.
// start spark-shell
$ http http://localhost:4040/api/v1/applications
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Length: 257
Content-Type: application/json
Date: Tue, 05 Jun 2018 18:46:32 GMT
Server: Jetty(9.3.z-SNAPSHOT)
Vary: Accept-Encoding, User-Agent
[
{
"attempts": [
{
"appSparkVersion": "2.3.1-SNAPSHOT",
"completed": false,
"duration": 0,
"endTime": "1969-12-31T23:59:59.999GMT",
"endTimeEpoch": -1,
"lastUpdated": "2018-06-05T15:04:48.328GMT",
"lastUpdatedEpoch": 1528211088328,
"sparkUser": "jacek",
"startTime": "2018-06-05T15:04:48.328GMT",
"startTimeEpoch": 1528211088328
}
],
"id": "local-1528211089216",
"name": "Spark shell"
}
]
$ http http://localhost:4040/api/v1/applications/local-1528211089216/storage/rdd
HTTP/1.1 200 OK
Content-Length: 3
Content-Type: application/json
Date: Tue, 05 Jun 2018 18:48:00 GMT
Server: Jetty(9.3.z-SNAPSHOT)
Vary: Accept-Encoding, User-Agent
[]
// Execute the following query in spark-shell
spark.range(5).cache.count
$ http http://localhost:4040/api/v1/applications/local-1528211089216/storage/rdd
// output omitted for brevity
AbstractApplicationResource | Description |
---|---|
Path | HTTP Method | Description |
---|---|---|
|
GET |
|
|
GET |
|
|
GET |
|
|
GET |
|
|
GET |
|
|
GET |
|
|
||
|
GET |
|
GET |
environmentInfo(): ApplicationEnvironmentInfo
environmentInfo
…FIXME
Note
|
environmentInfo is used when…FIXME
|
rddData(@PathParam("rddId") rddId: Int): RDDStorageInfo
rddData
…FIXME
Note
|
rddData is used when…FIXME
|
allExecutorList(): Seq[ExecutorSummary]
allExecutorList
…FIXME
Note
|
allExecutorList is used when…FIXME
|
executorList(): Seq[ExecutorSummary]
executorList
…FIXME
Note
|
executorList is used when…FIXME
|
oneJob(@PathParam("jobId") jobId: Int): JobData
oneJob
…FIXME
Note
|
oneJob is used when…FIXME
|