You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/01/10 03:46:53 UTC

[4/6] git commit: add inline comments

add inline comments


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/2ad315e8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/2ad315e8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/2ad315e8

Branch: refs/heads/master
Commit: 2ad315e80fb297f1e6cf77ec6fcdcf25750b4a3d
Parents: 6ab1db8
Author: walker <walker@transwarp01.(none)>
Authored: Tue Jan 7 01:27:57 2014 +0800
Committer: walker <walker@transwarp01.(none)>
Committed: Tue Jan 7 01:27:57 2014 +0800

----------------------------------------------------------------------
 .../scala/org/apache/spark/storage/BlockManagerMasterActor.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/2ad315e8/core/src/main/scala/org/apache/spark/storage/BlockManagerMasterActor.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/storage/BlockManagerMasterActor.scala b/core/src/main/scala/org/apache/spark/storage/BlockManagerMasterActor.scala
index a028783..2c1a4e2 100644
--- a/core/src/main/scala/org/apache/spark/storage/BlockManagerMasterActor.scala
+++ b/core/src/main/scala/org/apache/spark/storage/BlockManagerMasterActor.scala
@@ -350,7 +350,7 @@ object BlockManagerMasterActor {
         // isValid means it is either stored in-memory or on-disk.
         // But the memSize here indicates the data size in or dropped from memory,
         // and the diskSize here indicates the data size in or dropped to disk.
-        // They can be both large than 0, when a block is dropped from memory to disk.
+        // They can be both larger than 0, when a block is dropped from memory to disk.
         // Therefore, a safe way to set BlockStatus is to set its info in accurate modes.
         if (storageLevel.useMemory) {
           _blocks.put(blockId, BlockStatus(storageLevel, memSize, 0))