Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Aug 13, 2024
1 parent d310f70 commit 7c58790
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ class MapPartitionCommitHandler(
partitionLocations: Array[PartitionLocation]): Unit = {
super.registerShuffle(shuffleId, numMappers, hasSegments, partitionLocations)
pendingGetLocationContexts.synchronized {
pendingGetLocationContexts.computeIfAbsent(shuffleId, (k: Int) => new util.HashSet[RpcCallContext])
pendingGetLocationContexts.computeIfAbsent(
shuffleId,
(k: Int) => new util.HashSet[RpcCallContext])
shuffleNumMappers.put(shuffleId, numMappers)
shuffleHasSegments.put(shuffleId, hasSegments)
processPendingGetLocationContexts(shuffleId, partitionLocations)
Expand Down

0 comments on commit 7c58790

Please sign in to comment.