Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D143995E for ; Wed, 21 Mar 2012 05:36:09 +0000 (UTC) Received: (qmail 49888 invoked by uid 500); 21 Mar 2012 05:36:09 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 49704 invoked by uid 500); 21 Mar 2012 05:36:08 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 49694 invoked by uid 99); 21 Mar 2012 05:36:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 05:36:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 05:36:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5A0BCCE6B1 for ; Wed, 21 Mar 2012 05:35:45 +0000 (UTC) Date: Wed, 21 Mar 2012 05:35:45 +0000 (UTC) From: "stack (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1842339671.40366.1332308145401.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <937256090.28479.1331058417244.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5533) Add more metrics to HBase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234121#comment-13234121 ] stack commented on HBASE-5533: ------------------------------ I'm +1 on committing to trunk. Would like to see how it does there first before bringing it back. This is a nice addition. Shaneal, do you think there'll be issue because you are measuring here using nanotime whereas elsewhere we do System.currentTimeMillis doing measurements? Do you think this will ever make for discrepency or do you think that in the wash, a slow call is a slow call and between the jigs and reels, the nanotime count will be about same as millisecond counts? Also, what about these calls down in HRegion.get and deep in put where we do: {code} long now = EnvironmentEdgeManager.currentTimeMillis(); {code} I see the now is used to do things like: {code} HRegion.incrTimeVaryingMetric(metricPrefix + "put_", after - now); {code} ... is there overlap between these old metrics and what you are adding? Or, since your additions work at a higher level up in HRegionServer rather long after the get or put has started, should we be pulling these metrics up into HRS so they envelope more of the server operation than they currently do? Good stuff. > Add more metrics to HBase > ------------------------- > > Key: HBASE-5533 > URL: https://issues.apache.org/jira/browse/HBASE-5533 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.92.2, 0.94.0 > Reporter: Shaneal Manek > Assignee: Shaneal Manek > Priority: Minor > Attachments: BlockingQueueContention.java, HBASE-5533-0.92-v4.patch, TimingOverhead.java, hbase-5533-0.92.patch, hbase5533-0.92-v2.patch, hbase5533-0.92-v3.patch, hbase5533-0.92-v5.patch, histogram_web_ui.png > > > To debug/monitor production clusters, there are some more metrics I wish I had available. > In particular: > - Although the average FS latencies are useful, a 'histogram' of recent latencies (90% of reads completed in under 100ms, 99% in under 200ms, etc) would be more useful > - Similar histograms of latencies on common operations (GET, PUT, DELETE) would be useful > - Counting the number of accesses to each region to detect hotspotting > - Exposing the current number of HLog files -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira