소스 검색

HDDS-869. Fix log message in XceiverClientRatis#sendCommandAsync. Contributed by Lokesh Jain.

Shashikant Banerjee 6 년 전
부모
커밋
95d526a270
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java

+ 5 - 3
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java

@@ -196,9 +196,11 @@ public final class XceiverClientRatis extends XceiverClientSpi {
     Collection<XceiverClientAsyncReply.CommitInfo> commitInfos =
         new ArrayList<>();
     CompletableFuture<ContainerCommandResponseProto> 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