AngersZhuuuu commented on a change in pull request #35505:
URL: https://github.com/apache/spark/pull/35505#discussion_r808664261
##########
File path: core/src/main/scala/org/apache/spark/storage/BlockManager.scala
##########
@@ -1143,7 +1143,8 @@ private[spark] class BlockManager(
val buf = blockTransferService.fetchBlockSync(loc.host, loc.port,
loc.executorId,
blockId.toString, tempFileManager)
if (blockSize > 0 && buf.size() == 0) {
- throw new IllegalStateException("Empty buffer received for non empty
block")
+ throw new IllegalStateException(s"Empty buffer received for non
empty block " +
Review comment:
> Small nits: no need for interpolation on first half of string; "fetch"
-> "fetching"
Done
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]