Skip to content

Commit ecd6e33

Browse files
dongjoon-hyunhuangxiaopingRD
authored andcommitted
[MINOR][CORE] Remove invalid NioBlockTransferService comment
### What changes were proposed in this pull request? This PR aims to remove invalid comment about `NioBlockTransferService`. ### Why are the changes needed? `NioBlockTransferService` was deprecated at Apache Spark 1.5.0 and removed at 1.6.0. ### Does this PR introduce _any_ user-facing change? No, this is a removal of comment. ### How was this patch tested? Manual review. **BEFORE** ``` $ git grep -i NioBlockTransferService | wc -l 1 ``` **AFTER** ``` $ git grep -i NioBlockTransferService | wc -l 0 ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#52710 from dongjoon-hyun/NioBlockTransferService. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Kousuke Saruta <[email protected]>
1 parent a7fda61 commit ecd6e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/storage/BlockManager.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2184,7 +2184,7 @@ private[spark] class BlockManager(
21842184
decommissioner.foreach(_.stop())
21852185
blockTransferService.close()
21862186
if (blockStoreClient ne blockTransferService) {
2187-
// Closing should be idempotent, but maybe not for the NioBlockTransferService.
2187+
// Closing should be idempotent
21882188
blockStoreClient.close()
21892189
}
21902190
remoteBlockTempFileManager.stop()

0 commit comments

Comments
 (0)