Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 68926 invoked from network); 25 Feb 2008 22:38:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Feb 2008 22:38:45 -0000 Received: (qmail 6471 invoked by uid 500); 25 Feb 2008 22:38:37 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 6431 invoked by uid 500); 25 Feb 2008 22:38:37 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 6421 invoked by uid 99); 25 Feb 2008 22:38:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2008 14:38:37 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2008 22:37:58 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 19149234C03B for ; Mon, 25 Feb 2008 14:37:51 -0800 (PST) Message-ID: <930326322.1203979071101.JavaMail.jira@brutus> Date: Mon, 25 Feb 2008 14:37:51 -0800 (PST) From: "girish vaitheeswaran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2886) Track individual RPC metrics. In-Reply-To: <748678098.1203722119393.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] girish vaitheeswaran updated HADOOP-2886: ----------------------------------------- Attachment: rpc-metrics.path Here is a brief description of the change MetricsTimeVaryingRate.java + mr.incrMetric(name + "_avg_time", (int)getPreviousIntervalAverageTime()); Cast needed since we are converting a long field to an integer and the methid incrMetric does not have a method accepting a long field. RPC.java This file deals with dynamically obtaining the rpc latency based on the name of the rpc. RpcMetrics.java This file deals with generating the hashmap for the different RPC's. > Track individual RPC metrics. > ----------------------------- > > Key: HADOOP-2886 > URL: https://issues.apache.org/jira/browse/HADOOP-2886 > Project: Hadoop Core > Issue Type: Improvement > Components: metrics > Reporter: girish vaitheeswaran > Attachments: rpc-metrics.path > > > There is currently no mechanism to track performance metrics at the granularity of a specific RPC. So For e.g. if we wanted to capture average latency for the openFile RPC or for the createFile RPC the current infrastructure does not support that. > The implementation involves having a simple HashMap where every new Rpc metric being added would be inserted into the HashMap. Since there is a mechanism to obtain RPC latencies already (without the name of the specific RPC), the identification of what RPC is involved would be done by doing a lookup on the HashMap. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.