AngersZhuuuu commented on code in PR #990: URL: https://github.com/apache/incubator-celeborn/pull/990#discussion_r1033095572
########## client/src/main/scala/org/apache/celeborn/client/LifecycleManager.scala: ########## @@ -124,6 +124,29 @@ class LifecycleManager(appId: String, val conf: CelebornConf) extends RpcEndpoin // shuffleId -> set of partition id private val inBatchPartitions = new ConcurrentHashMap[Int, util.Set[Integer]]() + case class CommitPartitionRequest( + applicationId: String, + shuffleId: Int, + oldPartition: PartitionLocation) + + case class ShuffleCommittedInfo( + committedMasterIds: util.List[String], + committedSlaveIds: util.List[String], + failedMasterPartitionIds: ConcurrentHashMap[String, WorkerInfo], + failedSlavePartitionIds: ConcurrentHashMap[String, WorkerInfo], + committedMasterStorageInfos: ConcurrentHashMap[String, StorageInfo], + committedSlaveStorageInfos: ConcurrentHashMap[String, StorageInfo], + committedMapIdBitmap: ConcurrentHashMap[String, RoaringBitmap], + currentShuffleFileCount: LongAdder) + + private val commitPartitionRequests = + new ConcurrentHashMap[Int, util.Set[CommitPartitionRequest]]() Review Comment: Done -- 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]
