HDFS-14270.[SBN Read] Add trace level logging for stateId in RPC Server. Contributed by Shweta Yakkali.
This commit is contained in:
parent
fa7a0b269a
commit
4ad295a4f1
@ -2594,6 +2594,8 @@ private void processRpcRequest(RpcRequestHeaderProto header,
|
|||||||
stateId = alignmentContext.receiveRequestState(
|
stateId = alignmentContext.receiveRequestState(
|
||||||
header, getMaxIdleTime());
|
header, getMaxIdleTime());
|
||||||
call.setClientStateId(stateId);
|
call.setClientStateId(stateId);
|
||||||
|
LOG.trace("Client State ID= {} and Server State ID= {}",
|
||||||
|
call.getClientStateId(), alignmentContext.getLastSeenStateId());
|
||||||
}
|
}
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
throw new RpcServerException("Processing RPC request caught ", ioe);
|
throw new RpcServerException("Processing RPC request caught ", ioe);
|
||||||
|
Loading…
Reference in New Issue
Block a user