Ngone51 commented on code in PR #46706:
URL: https://github.com/apache/spark/pull/46706#discussion_r1610878871
##########
core/src/main/scala/org/apache/spark/MapOutputTracker.scala:
##########
@@ -153,8 +152,10 @@ private class ShuffleStatus(
/**
* Mapping from a mapId to the mapIndex, this is required to reduce the
searching overhead within
* the function updateMapOutput(mapId, bmAddress).
+ *
+ * Exposed for testing.
*/
- private[this] val mapIdToMapIndex = new OpenHashMap[Long, Int]()
+ private[spark] val mapIdToMapIndex = new HashMap[Long, Int]()
Review Comment:
`OpenHashMap` doesn't support remove operation.
--
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]