Browse Source

HDFS-11861. ipc.Client.Connection#sendRpcRequest should log request name. Contributed by John Zhuge.

(cherry picked from commit 5672ae7b37ce75086a1cb5bb9a388288fc913eb7)
John Zhuge 8 years ago
parent
commit
2448d84572

+ 2 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java

@@ -1111,7 +1111,8 @@ public class Client implements AutoCloseable {
                   return;
                 }
                 if (LOG.isDebugEnabled()) {
-                  LOG.debug(getName() + " sending #" + call.id);
+                  LOG.debug(getName() + " sending #" + call.id
+                      + " " + call.rpcRequest);
                 }
                 // RpcRequestHeader + RpcRequest
                 ipcStreams.sendRequest(buf.toByteArray());