Skip to content

Commit c34e9ff

Browse files
CodingCatsrowen
authored andcommitted
[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 <[email protected]> Closes #8238 from CodingCat/minor_1.
1 parent dd0614f commit c34e9ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/shuffle/IndexShuffleBlockResolver.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private[spark] class IndexShuffleBlockResolver(conf: SparkConf) extends ShuffleB
7171

7272
/**
7373
* Write an index file with the offsets of each block, plus a final offset at the end for the
74-
* end of the output file. This will be used by getBlockLocation to figure out where each block
74+
* end of the output file. This will be used by getBlockData to figure out where each block
7575
* begins and ends.
7676
* */
7777
def writeIndexFile(shuffleId: Int, mapId: Int, lengths: Array[Long]): Unit = {

0 commit comments

Comments
 (0)