Skip to content

Commit aace2c0

Browse files
colorantpwendell
authored andcommitted
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 <[email protected]> Closes #24 from colorant/status and squashes the following commits: df630b3 [Raymond Liu] Show Master status on UI page
1 parent 345df5f commit aace2c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/scala/org/apache/spark/deploy/master/ui/IndexPage.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ private[spark] class IndexPage(parent: MasterWebUI) {
8686
<li><strong>Drivers:</strong>
8787
{state.activeDrivers.size} Running,
8888
{state.completedDrivers.size} Completed </li>
89+
<li><strong>Status:</strong> {state.status}</li>
8990
</ul>
9091
</div>
9192
</div>

0 commit comments

Comments
 (0)