OneApplicationAttemptResource is a AbstractApplicationResource (and so a ApiRequestContext indirectly).
OneApplicationAttemptResource is used when AbstractApplicationResource is requested to applicationAttempt.
| Path | HTTP Method | Description |
|---|---|---|
GET |
// start spark-shell
// there should be a single Spark application -- the spark-shell itself
// CAUTION: FIXME Demo of OneApplicationAttemptResource in ActiongetAttempt(): ApplicationAttemptInfogetAttempt requests the UIRoot for the application info (given the appId) and finds the attemptId among the available attempts.
In the end, getAttempt returns the ApplicationAttemptInfo if available or reports a NotFoundException:
unknown app [appId], attempt [attemptId]