hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jzh...@apache.org
Subject hadoop git commit: HDFS-11861. ipc.Client.Connection#sendRpcRequest should log request name. Contributed by John Zhuge.
Date Wed, 07 Jun 2017 22:54:21 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 de4e4ec77 -> 2448d8457


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/2448d845
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/2448d845
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/2448d845

Branch: refs/heads/branch-2
Commit: 2448d845723b1a52336481458c7d9582bcb3714a
Parents: de4e4ec
Author: John Zhuge <jzhuge@apache.org>
Authored: Wed Jun 7 15:54:08 2017 -0700
Committer: John Zhuge <jzhuge@apache.org>
Committed: Wed Jun 7 15:54:08 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/2448d845/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 32da353..4164c7d 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
@@ -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());


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message