SteNicholas commented on code in PR #2891:
URL: https://github.com/apache/celeborn/pull/2891#discussion_r1833792435
##########
common/src/main/scala/org/apache/celeborn/common/protocol/message/ControlMessages.scala:
##########
@@ -1208,11 +1211,16 @@ object ControlMessages extends Logging {
case HEARTBEAT_FROM_APPLICATION_VALUE =>
val pbHeartbeatFromApplication =
PbHeartbeatFromApplication.parseFrom(message.getPayload)
+ val shuffleFallbackCountMap = new util.HashMap[String,
java.lang.Long]()
+ pbHeartbeatFromApplication.getShuffleFallbackCountsMap.asScala.foreach
{ entry =>
Review Comment:
@turboFei, no. The implementation of `getShuffleFallbackCountsMap ` could
not be null.
```
public java.util.Map<java.lang.String, java.lang.Long>
getShuffleFallbackCountsMap() {
return internalGetShuffleFallbackCounts().getMap();
}
```
--
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]