aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/twirl/spark/deploy/worker/index.scala.html
blob: 69746ed02cfed598308b745d2f98781087723852 (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
@(worker: spark.deploy.WorkerState)

@spark.deploy.common.html.layout(title = "Spark Worker on " + worker.uri) {
      
  <!-- 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 
          (WebUI at <a href="@worker.masterWebUiUrl">@worker.masterWebUiUrl</a>)
        </li>
        <li><strong>Cores:</strong> @worker.cores (@worker.coresUsed Used)</li>
        <li><strong>Memory:</strong> @{spark.Utils.memoryMegabytesToString(worker.memory)}
          (@{spark.Utils.memoryMegabytesToString(worker.memoryUsed)} Used)</li>
      </ul>
    </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>
      
}