rickyma commented on code in PR #1714:
URL: 
https://github.com/apache/incubator-uniffle/pull/1714#discussion_r1606609981


##########
client/src/main/java/org/apache/uniffle/client/impl/ShuffleWriteClientImpl.java:
##########
@@ -914,7 +915,16 @@ public void sendAppHeartbeat(String appId, long timeoutMs) 
{
               LOG.warn("Failed to send heartbeat to " + shuffleServerInfo);
             }
           } catch (Exception e) {
-            LOG.warn("Error happened when send heartbeat to " + 
shuffleServerInfo, e);
+            if (closed) {
+              // this client has been closed, so failing heartbeat calls are 
expected
+              LOG.info(
+                  "Error happened when send heartbeat to "
+                      + shuffleServerInfo
+                      + " after shuffle write client has been closed",
+                  e);
+            } else {
+              LOG.warn("Error happened when send heartbeat to " + 
shuffleServerInfo, e);

Review Comment:
   There are still a lot of places using `+ shuffleServerInfo`, you can search 
for them.



-- 
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]

Reply via email to