diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2015-04-14 18:52:48 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-04-14 18:52:48 -0700 |
commit | 30a6e0dcc0bd298731c1387546779cddcc16bc72 (patch) | |
tree | 7a6ceee090ab7af5290e1ca14172ffc14d275587 /core/src | |
parent | 9717389365772d218cd7c67f9a13c3440f3c6791 (diff) | |
download | spark-30a6e0dcc0bd298731c1387546779cddcc16bc72.tar.gz spark-30a6e0dcc0bd298731c1387546779cddcc16bc72.tar.bz2 spark-30a6e0dcc0bd298731c1387546779cddcc16bc72.zip |
[SPARK-5634] [core] Show correct message in HS when no incomplete apps f...
...ound.
Author: Marcelo Vanzin <vanzin@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.
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala | 2 |
1 files changed, 2 insertions, 0 deletions
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 6e432d63c6..3781b4e8c1 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? |