dongjoon-hyun commented on a change in pull request #30934:
URL: https://github.com/apache/spark/pull/30934#discussion_r549218772
##########
File path: core/src/main/scala/org/apache/spark/storage/FallbackStorage.scala
##########
@@ -158,7 +158,7 @@ object FallbackStorage extends Logging {
val name = ShuffleDataBlockId(shuffleId, mapId, NOOP_REDUCE_ID).name
val dataFile = new Path(fallbackPath, s"$appId/$shuffleId/$name")
val f = fallbackFileSystem.open(dataFile)
- val size = nextOffset - 1 - offset
+ val size = nextOffset - offset
logDebug(s"To byte array $size")
Review comment:
Maybe, for Apache Spark 3.2.0, @mridulm ? Currently, this PR is aiming
to provide this fix for Apache Spark 3.1.0 RC before next Monday.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]