Repository: hadoop Updated Branches: refs/heads/branch-2.8 396de0fd8 -> 01b6c6c3b
HDFS-11861. ipc.Client.Connection#sendRpcRequest should log request name. Contributed by John Zhuge. (cherry picked from commit 5672ae7b37ce75086a1cb5bb9a388288fc913eb7) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/01b6c6c3 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/01b6c6c3 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/01b6c6c3 Branch: refs/heads/branch-2.8 Commit: 01b6c6c3b209e807fabaddb9d16b2b15f7b6189b Parents: 396de0f Author: John Zhuge <[email protected]> Authored: Wed Jun 7 15:54:45 2017 -0700 Committer: John Zhuge <[email protected]> Committed: Wed Jun 7 15:54:45 2017 -0700 ---------------------------------------------------------------------- .../hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/01b6c6c3/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java index 04946ad..39f54e4 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java @@ -1107,7 +1107,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()); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
