Skip to content
Browse files

[CORE][MINOR] Fix obvious error and compiling for Scala 2.12.7

## What changes were proposed in this pull request?

Fix an obvious error.

## How was this patch tested?

Existing tests.

Closes #22577 from sadhen/minor_fix.

Authored-by: Darcy Shen <>
Signed-off-by: Sean Owen <>
(cherry picked from commit 40e6ed8)
Signed-off-by: Sean Owen <>
  • Loading branch information...
sadhen authored and srowen committed Sep 30, 2018
1 parent 73408f0 commit 8d7723f2ef7113315aba16fc2f5f9b532d18ef16
@@ -155,7 +155,7 @@ private[v1] class OneApplicationAttemptResource extends AbstractApplicationResou
def getAttempt(): ApplicationAttemptInfo = {
.flatMap { app =>
app.attempts.filter(_.attemptId == attemptId).headOption
.getOrElse {
throw new NotFoundException(s"unknown app $appId, attempt $attemptId")

0 comments on commit 8d7723f

Please sign in to comment.
You can’t perform that action at this time.