HBASE-6282 The introspection, etc. of objects in the RPC has to be handled for PB objects
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1409648 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e34f3890f3
commit
f38ee24ed0
|
@ -366,10 +366,11 @@ class ProtobufRpcEngine implements RpcEngine {
|
||||||
int qTime = (int) (startTime-receiveTime);
|
int qTime = (int) (startTime-receiveTime);
|
||||||
if (TRACELOG.isDebugEnabled()) {
|
if (TRACELOG.isDebugEnabled()) {
|
||||||
TRACELOG.debug("Call #" + CurCall.get().id +
|
TRACELOG.debug("Call #" + CurCall.get().id +
|
||||||
"; Served: " + protocol.getSimpleName()+"#"+method.getName() +
|
"; served=" + protocol.getSimpleName() + "#" + method.getName() +
|
||||||
" queueTime=" + qTime +
|
", queueTime=" + qTime +
|
||||||
" processingTime=" + processingTime +
|
", processingTime=" + processingTime +
|
||||||
" contents=" + param.toString());
|
", request=" + param.toString() +
|
||||||
|
" response=" + result.toString());
|
||||||
}
|
}
|
||||||
rpcMetrics.rpcQueueTime.inc(qTime);
|
rpcMetrics.rpcQueueTime.inc(qTime);
|
||||||
rpcMetrics.rpcProcessingTime.inc(processingTime);
|
rpcMetrics.rpcProcessingTime.inc(processingTime);
|
||||||
|
|
Loading…
Reference in New Issue