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

This commit is contained in:
John Zhuge 2017-05-21 00:18:35 -07:00 committed by Xiaoyu Yao
parent d2f0ddc8f6
commit 25e6378f14
1 changed files with 2 additions and 1 deletions

View File

@ -1109,7 +1109,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());