FMX commented on code in PR #970:
URL:
https://github.com/apache/incubator-celeborn/pull/970#discussion_r1022862741
##########
server-worker/src/main/scala/com/aliyun/emr/rss/service/deploy/worker/Worker.scala:
##########
@@ -186,19 +186,24 @@ private[deploy] class Worker(
}
def heartBeatToMaster(): Unit = {
- val shuffleKeys = new jHashSet[String]
- shuffleKeys.addAll(partitionLocationInfo.shuffleKeySet)
- shuffleKeys.addAll(localStorageManager.shuffleKeySet())
+ val shuffleResourceConsumption = new jHashMap[String, java.lang.Long]
+ partitionLocationInfo.shuffleKeySet.asScala.foreach { shuffleKey =>
+ shuffleResourceConsumption.put(shuffleKey, 0)
Review Comment:
I think it's necessary because partitionLocationInfo has no disk usage
information.
--
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]