From 95d526a270033462718df6e11a584b727e5c532b Mon Sep 17 00:00:00 2001 From: Shashikant Banerjee Date: Thu, 22 Nov 2018 18:39:14 +0530 Subject: [PATCH] HDDS-869. Fix log message in XceiverClientRatis#sendCommandAsync. Contributed by Lokesh Jain. --- .../org/apache/hadoop/hdds/scm/XceiverClientRatis.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java index 8a07526142..28d3e7a69f 100644 --- a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java +++ b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java @@ -196,9 +196,11 @@ public XceiverClientAsyncReply sendCommandAsync( Collection commitInfos = new ArrayList<>(); CompletableFuture containerCommandResponse = - raftClientReply.whenComplete((reply, e) -> LOG - .info("received reply {} for request: {} exception: {}", request, - reply, e)) + raftClientReply.whenComplete((reply, e) -> LOG.debug( + "received reply {} for request: cmdType={} containerID={}" + + " pipelineID={} traceID={} exception: {}", reply, + request.getCmdType(), request.getContainerID(), + request.getPipelineID(), request.getTraceID(), e)) .thenApply(reply -> { try { // we need to handle RaftRetryFailure Exception