Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit aace2c097ed2ca8bca33a3a3f07fb8bf772b3c50 1 parent 345df5f
@colorant colorant authored pwendell committed
View
1  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>
Please sign in to comment.
Something went wrong with that request. Please try again.