Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/22577#discussion_r221136204
--- Diff:
core/src/main/scala/org/apache/spark/status/api/v1/OneApplicationResource.scala
---
@@ -175,7 +175,7 @@ private[v1] class OneApplicationAttemptResource extends
AbstractApplicationResou
def getAttempt(): ApplicationAttemptInfo = {
uiRoot.getApplicationInfo(appId)
.flatMap { app =>
- app.attempts.filter(_.attemptId == attemptId).headOption
--- End diff --
hmm, just curious, why this doesn't compile in 2.12.7?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]