diff options
author | CodingCat <zhunansjtu@gmail.com> | 2015-08-18 10:31:11 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-08-18 10:31:11 +0100 |
commit | c34e9ff0eac2032283b959fe63b47cc30f28d21c (patch) | |
tree | f099cdd3e22459b8db6379b32e3cf2068f1cdbf9 /core | |
parent | dd0614fd618ad28cb77aecfbd49bb319b98fdba0 (diff) | |
download | spark-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.
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/scala/org/apache/spark/shuffle/IndexShuffleBlockResolver.scala | 2 |
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 = { |