Skip to content
Snippets Groups Projects
Commit 57ed16cf authored by Xiangrui Meng's avatar Xiangrui Meng Committed by Andrew Or
Browse files

[SPARK-7643] [UI] use the correct size in RDDPage for storage info and partitions

`dataDistribution` and `partitions` are `Option[Seq[_]]`. andrewor14 squito

Author: Xiangrui Meng <meng@databricks.com>

Closes #6157 from mengxr/SPARK-7643 and squashes the following commits:

99fe8a4 [Xiangrui Meng] use the correct size in RDDPage for storage info and partitions
parent 93dbb3ad
No related branches found
No related tags found
No related merge requests found
......@@ -77,14 +77,17 @@ private[ui] class RDDPage(parent: StorageTab) extends WebUIPage("rdd") {
<div class="row-fluid">
<div class="span12">
<h4> Data Distribution on {rddStorageInfo.dataDistribution.size} Executors </h4>
<h4>
Data Distribution on {rddStorageInfo.dataDistribution.map(_.size).getOrElse(0)}
Executors
</h4>
{workerTable}
</div>
</div>
<div class="row-fluid">
<div class="span12">
<h4> {rddStorageInfo.partitions.size} Partitions </h4>
<h4> {rddStorageInfo.partitions.map(_.size).getOrElse(0)} Partitions </h4>
{blockTable}
</div>
</div>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment