You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/03/30 07:54:50 UTC

[GitHub] [hadoop] virajjasani commented on a change in pull request #2836: HDFS-15936.Solve SocketTimeoutException#sendPacket() does not record SocketTimeout exception.

virajjasani commented on a change in pull request #2836:
URL: https://github.com/apache/hadoop/pull/2836#discussion_r603865296



##########
File path: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockSender.java
##########
@@ -631,6 +631,7 @@ private int sendPacket(ByteBuffer pkt, int maxChunks, OutputStream out,
          * 
          * Reporting of this case is done in DataXceiver#run
          */
+        LOG.warn("There was a timeout when sending packets: ", e);

Review comment:
       nit: `LOG.warn("Sending packets timed out.", e);`




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org