Ngone51 commented on a change in pull request #33896:
URL: https://github.com/apache/spark/pull/33896#discussion_r745302642
##########
File path: core/src/main/scala/org/apache/spark/MapOutputTracker.scala
##########
@@ -922,7 +922,7 @@ private[spark] class MapOutputTrackerMaster(
Runtime.getRuntime.availableProcessors(),
statuses.length.toLong * totalSizes.length / parallelAggThreshold +
1).toInt
if (parallelism <= 1) {
- for (s <- statuses) {
+ statuses.filter(_ != null).foreach { s =>
Review comment:
This looks like an unnecessary change. Could `status` be null after this
PR?
--
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]