aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/twirl
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2012-12-17 23:05:52 -0800
committerPatrick Wendell <pwendell@gmail.com>2012-12-17 23:09:05 -0800
commitbfac06e1f620efcd17beb16750dc57db6b424fb7 (patch)
tree9fc9cc56fd42070eee3e50e336d06910094b3a84 /core/src/main/twirl
parentb82a6dd2c72d6555aeaa2b523ddf564434f5e10c (diff)
downloadspark-bfac06e1f620efcd17beb16750dc57db6b424fb7.tar.gz
spark-bfac06e1f620efcd17beb16750dc57db6b424fb7.tar.bz2
spark-bfac06e1f620efcd17beb16750dc57db6b424fb7.zip
SPARK-616: Logging dead workers in Web UI.
This patch keeps track of which workers have died and marks them as such in the master web UI. It also handles workers which die and re-register using different actor ID's.
Diffstat (limited to 'core/src/main/twirl')
-rw-r--r--core/src/main/twirl/spark/deploy/master/worker_row.scala.html1
-rw-r--r--core/src/main/twirl/spark/deploy/master/worker_table.scala.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/twirl/spark/deploy/master/worker_row.scala.html b/core/src/main/twirl/spark/deploy/master/worker_row.scala.html
index c32ab30401..be69e9bf02 100644
--- a/core/src/main/twirl/spark/deploy/master/worker_row.scala.html
+++ b/core/src/main/twirl/spark/deploy/master/worker_row.scala.html
@@ -7,6 +7,7 @@
<a href="@worker.webUiAddress">@worker.id</href>
</td>
<td>@{worker.host}:@{worker.port}</td>
+ <td>@worker.state</td>
<td>@worker.cores (@worker.coresUsed Used)</td>
<td>@{Utils.memoryMegabytesToString(worker.memory)}
(@{Utils.memoryMegabytesToString(worker.memoryUsed)} Used)</td>
diff --git a/core/src/main/twirl/spark/deploy/master/worker_table.scala.html b/core/src/main/twirl/spark/deploy/master/worker_table.scala.html
index fad1af41dc..b249411a62 100644
--- a/core/src/main/twirl/spark/deploy/master/worker_table.scala.html
+++ b/core/src/main/twirl/spark/deploy/master/worker_table.scala.html
@@ -5,6 +5,7 @@
<tr>
<th>ID</th>
<th>Address</th>
+ <th>State</th>
<th>Cores</th>
<th>Memory</th>
</tr>