Repository: spark Updated Branches: refs/heads/master 971738936 -> 30a6e0dcc
[SPARK-5634] [core] Show correct message in HS when no incomplete apps f... ...ound. Author: Marcelo Vanzin <van...@cloudera.com> Closes #5515 from vanzin/SPARK-5634 and squashes the following commits: f74ecf1 [Marcelo Vanzin] [SPARK-5634] [core] Show correct message in HS when no incomplete apps found. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/30a6e0dc Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/30a6e0dc Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/30a6e0dc Branch: refs/heads/master Commit: 30a6e0dcc0bd298731c1387546779cddcc16bc72 Parents: 9717389 Author: Marcelo Vanzin <van...@cloudera.com> Authored: Tue Apr 14 18:52:48 2015 -0700 Committer: Andrew Or <and...@databricks.com> Committed: Tue Apr 14 18:52:48 2015 -0700 ---------------------------------------------------------------------- .../main/scala/org/apache/spark/deploy/history/HistoryPage.scala | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/30a6e0dc/core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala b/core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala index 6e432d6..3781b4e 100644 --- a/core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala +++ b/core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala @@ -90,6 +90,8 @@ private[history] class HistoryPage(parent: HistoryServer) extends WebUIPage("") </span> </h4> ++ appTable + } else if (requestedIncomplete) { + <h4>No incomplete applications found!</h4> } else { <h4>No completed applications found!</h4> ++ <p>Did you specify the correct logging directory? --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org