supratimdeka commented on a change in pull request #1051: HDDS-1748. Error 
message for 3 way commit failure is not verbose. Contributed by Supratim Deka
URL: https://github.com/apache/hadoop/pull/1051#discussion_r300980259
 
 

 ##########
 File path: 
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java
 ##########
 @@ -258,8 +258,15 @@ public XceiverClientReply watchForCommit(long index, long 
timeout)
           .sendWatchAsync(index, RaftProtos.ReplicationLevel.ALL_COMMITTED);
       replyFuture.get(timeout, TimeUnit.MILLISECONDS);
     } catch (Exception e) {
+      String nodes = " with Datanodes : ";
       Throwable t = HddsClientUtils.checkForException(e);
-      LOG.warn("3 way commit failed ", e);
+      for (DatanodeDetails datanodeDetails : pipeline.getNodes()) {
+        nodes += datanodeDetails.getHostName() + "["
 
 Review comment:
   done. replaced with pipeline

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to