blob: 0e66af9284762abebd4acc8dbb0b8edd3aa58e9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
@(worker: spark.deploy.WorkerState)
@import spark.Utils
@spark.common.html.layout(title = "Spark Worker on " + worker.host + ":" + worker.port) {
<!-- Worker Details -->
<div class="row">
<div class="span12">
<ul class="unstyled">
<li><strong>ID:</strong> @worker.workerId</li>
<li><strong>
Master URL:</strong> @worker.masterUrl
</li>
<li><strong>Cores:</strong> @worker.cores (@worker.coresUsed Used)</li>
<li><strong>Memory:</strong> @{Utils.memoryMegabytesToString(worker.memory)}
(@{Utils.memoryMegabytesToString(worker.memoryUsed)} Used)</li>
</ul>
<p><a href="@worker.masterWebUiUrl">Back to Master</a></p>
</div>
</div>
<hr/>
<!-- Running Executors -->
<div class="row">
<div class="span12">
<h3> Running Executors </h3>
<br/>
@executors_table(worker.executors)
</div>
</div>
<hr/>
<!-- Finished Executors -->
<div class="row">
<div class="span12">
<h3> Finished Executors </h3>
<br/>
@executors_table(worker.finishedExecutors)
</div>
</div>
}
|