blob: 2b337f61339b213bea1ac62941363708373e4c58 (
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
|
@(maxMem: Long, remainingMem: Long, diskSpaceUsed: Long, rdds: Array[spark.storage.RDDInfo], storageStatusList: Array[spark.storage.StorageStatus])
@import spark.Utils
@spark.common.html.layout(title = "Storage Dashboard") {
<!-- High-Level Information -->
<div class="row">
<div class="span12">
<ul class="unstyled">
<li><strong>Memory:</strong>
@{Utils.memoryBytesToString(maxMem - remainingMem)} Used
(@{Utils.memoryBytesToString(remainingMem)} Available) </li>
<li><strong>Disk:</strong> @{Utils.memoryBytesToString(diskSpaceUsed)} Used </li>
</ul>
</div>
</div>
<hr/>
<!-- RDD Summary -->
<div class="row">
<div class="span12">
<h3> RDD Summary </h3>
<br/>
@rdd_table(rdds)
</div>
</div>
<hr/>
<!-- Worker Summary -->
<div class="row">
<div class="span12">
<h3> Worker Summary </h3>
<br/>
@worker_table(storageStatusList)
</div>
</div>
}
|