Skip to content

Commit

Permalink
Removed unused vals and added table header
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbozarth committed Jan 14, 2016
1 parent 8b13783 commit 4b5f7c7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ private[ui] class ExecutorsPage(

def render(request: HttpServletRequest): Seq[Node] = {
val storageStatusList = listener.storageStatusList
val maxMem = storageStatusList.map(_.maxMem).sum
val memUsed = storageStatusList.map(_.memUsed).sum
val diskUsed = storageStatusList.map(_.diskUsed).sum
val execInfo = for (statusId <- 0 until storageStatusList.size) yield
ExecutorsPage.getExecInfo(listener, statusId)
val execInfoSorted = execInfo.sortBy(_.id)
Expand Down Expand Up @@ -101,6 +98,7 @@ private[ui] class ExecutorsPage(
</div>
<div class = "row">
<div class="span12">
<h4>Active Executors</h4>
{execTable}
</div>
</div>;
Expand Down

0 comments on commit 4b5f7c7

Please sign in to comment.