Skip to content

Commit 96f648b

Browse files
author
Marcelo Vanzin
committed
Fix comparison.
1 parent ed3bcd4 commit 96f648b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class HistoryServer(
8383
}
8484

8585
val appId = parts(1)
86-
val attemptId = if (parts.length > 3) Some(parts(2)) else None
86+
val attemptId = if (parts.length >= 3) Some(parts(2)) else None
8787

8888
// Since we may have applications with multiple attempts mixed with applications with a
8989
// single attempt, we need to try both. Try the single-attempt route first, and if an

0 commit comments

Comments
 (0)