Skip to content

Commit

Permalink
Fix strange error messages...
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Mar 31, 2014
1 parent 0670743 commit 81b568b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class HistoryServer(val baseLogDir: String, requestedPort: Int)
logInfo("Started HistoryServer at http://%s:%d".format(host, boundPort))
} catch {
case e: Exception =>
logError("Failed to create HistoryServer", e)
logError("Failed to bind HistoryServer", e)
System.exit(1)
}
checkForLogs()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class MasterWebUI(val master: Master, requestedPort: Int)
logInfo("Started Master web UI at http://%s:%d".format(host, boundPort))
} catch {
case e: Exception =>
logError("Failed to create Master JettyUtils", e)
logError("Failed to create Master web UI", e)
System.exit(1)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class WorkerWebUI(val worker: Worker, val workDir: File, requestedPort: Option[I
logInfo("Started Worker web UI at http://%s:%d".format(host, boundPort))
} catch {
case e: Exception =>
logError("Failed to create Worker JettyUtils", e)
logError("Failed to create Worker web UI", e)
System.exit(1)
}
}
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/scala/org/apache/spark/ui/SparkUI.scala
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ private[spark] class SparkUI(
override def bind() {
try {
serverInfo = Some(startJettyServer(host, port, handlers, sc.conf))
logInfo("Started Spark Web UI at http://%s:%d".format(host, boundPort))
logInfo("Started Spark web UI at http://%s:%d".format(host, boundPort))
} catch {
case e: Exception =>
logError("Failed to create Spark JettyUtils", e)
logError("Failed to create Spark web UI", e)
System.exit(1)
}
}
Expand Down

0 comments on commit 81b568b

Please sign in to comment.