diff options
author | Denny <dennybritz@gmail.com> | 2012-10-29 15:03:01 -0700 |
---|---|---|
committer | Denny <dennybritz@gmail.com> | 2012-10-29 15:03:01 -0700 |
commit | ceec1a1a6abb1fd03316e7fcc532d7e121d5bf65 (patch) | |
tree | 2c9107523a869feeef24ca70ea4c8b240bec8cd4 /core/src/main/twirl | |
parent | eb95212f4d24dbcd734922f39d51e6fdeaeb4c8b (diff) | |
download | spark-ceec1a1a6abb1fd03316e7fcc532d7e121d5bf65.tar.gz spark-ceec1a1a6abb1fd03316e7fcc532d7e121d5bf65.tar.bz2 spark-ceec1a1a6abb1fd03316e7fcc532d7e121d5bf65.zip |
Nicer storage level format on RDD page
Diffstat (limited to 'core/src/main/twirl')
-rw-r--r-- | core/src/main/twirl/spark/storage/rdd.scala.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/main/twirl/spark/storage/rdd.scala.html b/core/src/main/twirl/spark/storage/rdd.scala.html index 3a70326efe..075289c826 100644 --- a/core/src/main/twirl/spark/storage/rdd.scala.html +++ b/core/src/main/twirl/spark/storage/rdd.scala.html @@ -50,7 +50,12 @@ @blocks.map { case (k,v) => <tr> <td>@k</td> - <td>@v.storageLevel</td> + <td> + @(if (v.storageLevel.useDisk) "Disk" else "") + @(if (v.storageLevel.useMemory) "Memory" else "") + @(if (v.storageLevel.deserialized) "Deserialized" else "") + @(v.storageLevel.replication)x Replicated + </td> <td>@{spark.Utils.memoryBytesToString(v.memSize)}</td> <td>@{spark.Utils.memoryBytesToString(v.diskSize)}</td> </tr> |