mridulm commented on code in PR #48896:
URL: https://github.com/apache/spark/pull/48896#discussion_r1885767172


##########
core/src/main/scala/org/apache/spark/MapOutputTracker.scala:
##########
@@ -839,7 +851,26 @@ private[spark] class MapOutputTrackerMaster(
   }
 
   def registerMapOutput(shuffleId: Int, mapIndex: Int, status: MapStatus): 
Unit = {
-    shuffleStatuses(shuffleId).addMapOutput(mapIndex, status)
+    if (enableOptimizeCompressedMapStatus && status != null) {

Review Comment:
   +1 to @LuciferYang's comment above.
   Also, please add more details to the PR description on what is the 
optimization/how it helps,  etc.



-- 
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]

Reply via email to