haiyang1987 opened a new pull request, #6146: URL: https://github.com/apache/hadoop/pull/6146
### Description of PR https://issues.apache.org/jira/browse/HADOOP-18920 [HADOOP-12325](https://issues.apache.org/jira/browse/HADOOP-12325) implement a capability where "slow" RPCs are logged in NN log. Current processing logic is the "slow" RPCs are to be those whose processing time is outside 3 standard deviation. However, in practice it is found that many logs of slow rpc are currently output, and sometimes RPCs with a processing time of 1ms are also declared as slow, this is not in line with actual expectations. Therefore, consider optimize the logic conditions of slow RPC and add a `logSlowRPCThresholdMs` variable to judge whether the current RPCas slow so that the expected slow RPC log can be logger. for `logSlowRPCThresholdMs`, we can support dynamic refresh to facilitate adjustments based on the actual operating conditions of the hdfs cluster. -- 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]
