diff options
author | Raymond Liu <raymond.liu@intel.com> | 2014-02-26 23:51:32 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-02-26 23:51:32 -0800 |
commit | aace2c097ed2ca8bca33a3a3f07fb8bf772b3c50 (patch) | |
tree | 2f908740d26794302957f0e66f7f287ef0111d6b | |
parent | 345df5f4a9c16a6a87440afa2b09082fc3d224bd (diff) | |
download | spark-aace2c097ed2ca8bca33a3a3f07fb8bf772b3c50.tar.gz spark-aace2c097ed2ca8bca33a3a3f07fb8bf772b3c50.tar.bz2 spark-aace2c097ed2ca8bca33a3a3f07fb8bf772b3c50.zip |
Show Master status on UI page
For standalone HA mode, A status is useful to identify the current master, already in json format too.
Author: Raymond Liu <raymond.liu@intel.com>
Closes #24 from colorant/status and squashes the following commits:
df630b3 [Raymond Liu] Show Master status on UI page
-rw-r--r-- | core/src/main/scala/org/apache/spark/deploy/master/ui/IndexPage.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/scala/org/apache/spark/deploy/master/ui/IndexPage.scala b/core/src/main/scala/org/apache/spark/deploy/master/ui/IndexPage.scala index bac922bcd3..3233cd97f7 100644 --- a/core/src/main/scala/org/apache/spark/deploy/master/ui/IndexPage.scala +++ b/core/src/main/scala/org/apache/spark/deploy/master/ui/IndexPage.scala @@ -86,6 +86,7 @@ private[spark] class IndexPage(parent: MasterWebUI) { <li><strong>Drivers:</strong> {state.activeDrivers.size} Running, {state.completedDrivers.size} Completed </li> + <li><strong>Status:</strong> {state.status}</li> </ul> </div> </div> |