Skip to content

Commit 81b568b

Browse files
committed
Fix strange error messages...
1 parent 0670743 commit 81b568b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
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
@@ -77,7 +77,7 @@ class HistoryServer(val baseLogDir: String, requestedPort: Int)
7777
logInfo("Started HistoryServer at http://%s:%d".format(host, boundPort))
7878
} catch {
7979
case e: Exception =>
80-
logError("Failed to create HistoryServer", e)
80+
logError("Failed to bind HistoryServer", e)
8181
System.exit(1)
8282
}
8383
checkForLogs()

core/src/main/scala/org/apache/spark/deploy/master/ui/MasterWebUI.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class MasterWebUI(val master: Master, requestedPort: Int)
6666
logInfo("Started Master web UI at http://%s:%d".format(host, boundPort))
6767
} catch {
6868
case e: Exception =>
69-
logError("Failed to create Master JettyUtils", e)
69+
logError("Failed to create Master web UI", e)
7070
System.exit(1)
7171
}
7272
}

core/src/main/scala/org/apache/spark/deploy/worker/ui/WorkerWebUI.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class WorkerWebUI(val worker: Worker, val workDir: File, requestedPort: Option[I
6464
logInfo("Started Worker web UI at http://%s:%d".format(host, boundPort))
6565
} catch {
6666
case e: Exception =>
67-
logError("Failed to create Worker JettyUtils", e)
67+
logError("Failed to create Worker web UI", e)
6868
System.exit(1)
6969
}
7070
}

core/src/main/scala/org/apache/spark/ui/SparkUI.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ private[spark] class SparkUI(
9898
override def bind() {
9999
try {
100100
serverInfo = Some(startJettyServer(host, port, handlers, sc.conf))
101-
logInfo("Started Spark Web UI at http://%s:%d".format(host, boundPort))
101+
logInfo("Started Spark web UI at http://%s:%d".format(host, boundPort))
102102
} catch {
103103
case e: Exception =>
104-
logError("Failed to create Spark JettyUtils", e)
104+
logError("Failed to create Spark web UI", e)
105105
System.exit(1)
106106
}
107107
}

0 commit comments

Comments
 (0)