[ https://issues.apache.org/jira/browse/HADOOP-12325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710087#comment-14710087 ]
Xiaoyu Yao commented on HADOOP-12325: ------------------------------------- Thanks [~anu] updating the patch! The Jenkins result looks good to me. I will commit it shortly. Ignore the checkstyle issue "Variable 'rpcSlowCalls' must be private and have accessor methods." since it is inconsistent with the existing code. > RPC Metrics : Add the ability track and log slow RPCs > ----------------------------------------------------- > > Key: HADOOP-12325 > URL: https://issues.apache.org/jira/browse/HADOOP-12325 > Project: Hadoop Common > Issue Type: Improvement > Components: ipc, metrics > Affects Versions: 2.7.1 > Reporter: Anu Engineer > Assignee: Anu Engineer > Attachments: Callers of WritableRpcEngine.call.png, > HADOOP-12325.001.patch, HADOOP-12325.002.patch, HADOOP-12325.003.patch, > HADOOP-12325.004.patch, HADOOP-12325.005.patch, HADOOP-12325.005.test.patch, > HADOOP-12325.006.patch > > > This JIRA proposes to add a counter called RpcSlowCalls and also a > configuration setting that allows users to log really slow RPCs. Slow RPCs > are RPCs that fall at 99th percentile. This is useful to troubleshoot why > certain services like name node freezes under heavy load. -- This message was sent by Atlassian JIRA (v6.3.4#6332)