Repository: spark
Updated Branches:
  refs/heads/master dd0614fd6 -> c34e9ff0e


[MINOR] fix the comments in IndexShuffleBlockResolver

it might be a typo  introduced at the first moment or some leftover after some 
renaming......

the name of the method accessing the index file is called `getBlockData` now 
(not `getBlockLocation` as indicated in the comments)

Author: CodingCat <zhunans...@gmail.com>

Closes #8238 from CodingCat/minor_1.


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

Branch: refs/heads/master
Commit: c34e9ff0eac2032283b959fe63b47cc30f28d21c
Parents: dd0614f
Author: CodingCat <zhunans...@gmail.com>
Authored: Tue Aug 18 10:31:11 2015 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Tue Aug 18 10:31:11 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/spark/blob/c34e9ff0/core/src/main/scala/org/apache/spark/shuffle/IndexShuffleBlockResolver.scala
----------------------------------------------------------------------
diff --git 
a/core/src/main/scala/org/apache/spark/shuffle/IndexShuffleBlockResolver.scala 
b/core/src/main/scala/org/apache/spark/shuffle/IndexShuffleBlockResolver.scala
index fae6955..d0163d3 100644
--- 
a/core/src/main/scala/org/apache/spark/shuffle/IndexShuffleBlockResolver.scala
+++ 
b/core/src/main/scala/org/apache/spark/shuffle/IndexShuffleBlockResolver.scala
@@ -71,7 +71,7 @@ private[spark] class IndexShuffleBlockResolver(conf: 
SparkConf) extends ShuffleB
 
   /**
    * Write an index file with the offsets of each block, plus a final offset 
at the end for the
-   * end of the output file. This will be used by getBlockLocation to figure 
out where each block
+   * end of the output file. This will be used by getBlockData to figure out 
where each block
    * begins and ends.
    * */
   def writeIndexFile(shuffleId: Int, mapId: Int, lengths: Array[Long]): Unit = 
{


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to