aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCodingCat <zhunansjtu@gmail.com>2015-08-18 10:31:11 +0100
committerSean Owen <sowen@cloudera.com>2015-08-18 10:31:11 +0100
commitc34e9ff0eac2032283b959fe63b47cc30f28d21c (patch)
treef099cdd3e22459b8db6379b32e3cf2068f1cdbf9
parentdd0614fd618ad28cb77aecfbd49bb319b98fdba0 (diff)
downloadspark-c34e9ff0eac2032283b959fe63b47cc30f28d21c.tar.gz
spark-c34e9ff0eac2032283b959fe63b47cc30f28d21c.tar.bz2
spark-c34e9ff0eac2032283b959fe63b47cc30f28d21c.zip
[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 <zhunansjtu@gmail.com> Closes #8238 from CodingCat/minor_1.
-rw-r--r--core/src/main/scala/org/apache/spark/shuffle/IndexShuffleBlockResolver.scala2
1 files changed, 1 insertions, 1 deletions
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 fae69551e7..d0163d326d 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 = {