Permalink
Browse files

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
  • Loading branch information...
1 parent 345df5f commit aace2c097ed2ca8bca33a3a3f07fb8bf772b3c50 @colorant colorant committed with pwendell Feb 27, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 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>

0 comments on commit aace2c0

Please sign in to comment.