jianghuazhu commented on a change in pull request #3891:
URL: https://github.com/apache/hadoop/pull/3891#discussion_r786530523
##########
File path:
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
##########
@@ -3046,6 +3046,8 @@ private void internalQueueCall(Call call, boolean
blocking)
} else {
callQueue.add(call);
}
+
+ LOG.debug("{} has entered the CallQueue and is waiting to be
processed.", call);
Review comment:
Thanks @tomscut for the comment and review.
The detailed log here is this:
`
2022-01-18 16:37:56,653 DEBUG org.apache.hadoop.ipc.Server: Call#75 Retry#0
org.apache.hadoop.hdfs.protocol.ClientProtocol.getFileInfo from
xxxx.xxxx.xxxx.xxxx:port has entered the CallQueue and is waiting to be
processed.
2022-01-18 16:37:56,654 DEBUG org.apache.hadoop.ipc.Server: Call#76 Retry#0
org.apache.hadoop.hdfs.protocol.ClientProtocol.getFileInfo from
xxxx.xxxx.xxxx.xxxx:port has entered the CallQueue and is waiting to be
processed.
`
When the Call is processed by Hanler, the detailed log is as follows:
`
2022-01-18 16:37:59,725 [5178363759] - WARN [IPC Server handler 126 on
8025:Server@494] - Slow RPC : create took 509 milliseconds to process from
client Call#76 Retry#0
org.apache.hadoop.hdfs.protocol.ClientProtocol.getFileInfo from
xxxx.xxxx.xxxx.xxxx:port
`
In my opinion, the Calls recorded in these two places should be consistent.
@tomscut , do you have any good suggestions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]