HDFS-11861. ipc.Client.Connection#sendRpcRequest should log request name. Contributed by John Zhuge.
(cherry picked from commit 5672ae7b37
)
This commit is contained in:
parent
de4e4ec774
commit
2448d84572
|
@ -1111,7 +1111,8 @@ public class Client implements AutoCloseable {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug(getName() + " sending #" + call.id);
|
LOG.debug(getName() + " sending #" + call.id
|
||||||
|
+ " " + call.rpcRequest);
|
||||||
}
|
}
|
||||||
// RpcRequestHeader + RpcRequest
|
// RpcRequestHeader + RpcRequest
|
||||||
ipcStreams.sendRequest(buf.toByteArray());
|
ipcStreams.sendRequest(buf.toByteArray());
|
||||||
|
|
Loading…
Reference in New Issue