spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewor14 <>
Subject [GitHub] spark pull request: [SPARK-1132] Persisting Web UI through refacto...
Date Wed, 12 Mar 2014 03:27:11 GMT
Github user andrewor14 commented on a diff in the pull request:
    --- Diff: core/src/main/scala/org/apache/spark/storage/StorageUtils.scala ---
    @@ -17,13 +17,17 @@
    +import scala.collection.Map
    +import scala.collection.mutable
     import org.apache.spark.SparkContext
     import org.apache.spark.util.Utils
    -case class StorageStatus(blockManagerId: BlockManagerId, maxMem: Long,
    -  blocks: Map[BlockId, BlockStatus]) {
    +class StorageStatus(
    +    val blockManagerId: BlockManagerId,
    +    val maxMem: Long,
    +    val blocks: mutable.Map[BlockId, BlockStatus] = mutable.Map.empty) {
    --- End diff --
    No longer a case class, because blocks is now mutable.

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 or file a JIRA ticket
with INFRA.

View raw message