blob: af801cf229569fb3110f599f64810063dc695156 (
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
|
@(rdds: Array[spark.storage.RDDInfo])
@import spark.Utils
<table class="table table-bordered table-striped table-condensed sortable">
<thead>
<tr>
<th>RDD Name</th>
<th>Storage Level</th>
<th>Partitions</th>
<th>Size in Memory</th>
<th>Size on Disk</th>
</tr>
</thead>
<tbody>
@for(rdd <- rdds) {
<tr>
<td>
<a href="rdd?id=@(rdd.id)">
@rdd.name
</a>
</td>
<td>@(rdd.storageLevel.description)
</td>
<td>@rdd.numPartitions</td>
<td>@{Utils.memoryBytesToString(rdd.memSize)}</td>
<td>@{Utils.memoryBytesToString(rdd.diskSize)}</td>
</tr>
}
</tbody>
</table>
|