Github user kayousterhout commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1314#discussion_r14609695
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/exec/ExecutorsPage.scala 
---
    @@ -36,8 +52,41 @@ private[ui] class ExecutorsPage(parent: ExecutorsTab) 
extends WebUIPage("") {
         val memUsed = storageStatusList.map(_.memUsed).fold(0L)(_ + _)
         val diskSpaceUsed = 
storageStatusList.flatMap(_.blocks.values.map(_.diskSize)).fold(0L)(_ + _)
         val execInfo = for (statusId <- 0 until storageStatusList.size) yield 
getExecInfo(statusId)
    -    val execInfoSorted = execInfo.sortBy(_.getOrElse("Executor ID", ""))
    -    val execTable = UIUtils.listingTable(execHeader, execRow, 
execInfoSorted)
    +    val execInfoSorted = execInfo.sortBy(_.id)
    +
    +    val execTable =
    +      <table class={UIUtils.TABLE_CLASS}>
    +        <thead>
    +          <th>Executor ID</th>
    +          <th>Address</th>
    +          <th>RDD Blocks</th>
    +          <th>Memory Used</th>
    +          <th>Disk Used</th>
    +          <th>Active Tasks</th>
    +          <th>Failed Tasks</th>
    +          <th>Complete Tasks</th>
    +          <th>Total Tasks</th>
    +          <th>Task Time</th>
    +          <th>
    +            <span data-toggle="tooltip" title={ToolTips.INPUT}>
    +              Input
    +            </span>
    +          </th>
    +          <th>
    +            <span data-toggle="tooltip" title={ToolTips.SHUFFLE_READ}>
    +              Shuffle Read
    +            </span>
    +          </th>
    +          <th>
    +            <span data-toggle="tooltip" data-placement="left" 
title={ToolTips.SHUFFLE_WRITE}>
    --- End diff --
    
    It means the tooltip appears to the left instead of on top.  I did this 
because the shuffle write appears on the far right of the table, so the tooltip 
doesn't fit above it (because it's wider than the shuffle write column)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to