Skip to content

Commit 23483e4

Browse files
author
Marcelo Vanzin
committed
Fat fingers.
1 parent b728f08 commit 23483e4

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
@@ -89,7 +89,7 @@ class HistoryServer(
8989
// Since we may have applications with multiple attempts mixed with applications with a
9090
// single attempt, we need to try both. Try the single-attempt route first, and if an
9191
// error is raised, then try the multiple attempt route.
92-
if (!loadAppUi(appId, None && (!attemptId.isDefined || !loadAppUi(appId, attemptId)) {
92+
if (!loadAppUi(appId, None) && (!attemptId.isDefined || !loadAppUi(appId, attemptId))) {
9393
val msg = <div class="row-fluid">Application {appId} not found.</div>
9494
res.setStatus(HttpServletResponse.SC_NOT_FOUND)
9595
UIUtils.basicSparkPage(msg, "Not Found").foreach { n =>

0 commit comments

Comments
 (0)