AbstractApplicationResource
AbstractApplicationResource
is a BaseAppResource with a set of URI paths that are common across implementations.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
// 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
Method
1 2 3 4 5 |
environmentInfo(): ApplicationEnvironmentInfo |
environmentInfo
…FIXME
Note
|
environmentInfo is used when…FIXME
|
rddData
Method
1 2 3 4 5 |
rddData(@PathParam("rddId") rddId: Int): RDDStorageInfo |
rddData
…FIXME
Note
|
rddData is used when…FIXME
|
allExecutorList
Method
1 2 3 4 5 |
allExecutorList(): Seq[ExecutorSummary] |
allExecutorList
…FIXME
Note
|
allExecutorList is used when…FIXME
|
executorList
Method
1 2 3 4 5 |
executorList(): Seq[ExecutorSummary] |
executorList
…FIXME
Note
|
executorList is used when…FIXME
|