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 03F3DD190 for ; Sat, 27 Oct 2012 05:05:15 +0000 (UTC) Received: (qmail 68109 invoked by uid 500); 27 Oct 2012 05:05:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 68070 invoked by uid 500); 27 Oct 2012 05:05:13 -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 68022 invoked by uid 99); 27 Oct 2012 05:05:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2012 05:05:12 +0000 Date: Sat, 27 Oct 2012 05:05:12 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <2080738691.34728.1351314312714.JavaMail.jiratomcat@arcas> In-Reply-To: <1526125555.66292.1342562375107.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6410) Move RegionServer Metrics to metrics2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485359#comment-13485359 ] stack commented on HBASE-6410: ------------------------------ RB is messing me up. Filled out comments on first page twice and it lost them. Here they are: Usual style is to have spaces around operators (the '+' in this case). No biggie. Add comment why you are predefining all these strings -- because they are used later in h1 and h2 compat modules. There are two places where you define a lump of static strings. Say why -- that they will be used downstream in implemenations? On 'getServerName' in Interfaces... "Was going to say why this in this Interface when its in the Server Interface implemented by Master -- then thinking on it, better to explicitly declare what you need in your Interface rather than have a non-declared dependency..." Remove 'Master' from method names because context is enough... e.g. getStartTime instead of getMasterStartTime. Ditto in the RegionServer wrapper Interface. For the region wrapper, will there be a day when we should pass the Put object to the updatePut, etc., so it can glean metrics by looking at the actual Put? That is future stuff. Its createServer and not createGeneral in the factory. In replication source, fix the bean names. Has HRegionServer instead of RegionServer... in a few places. Rest bean should be called REST I think rather than Rest or rest. > Move RegionServer Metrics to metrics2 > ------------------------------------- > > Key: HBASE-6410 > URL: https://issues.apache.org/jira/browse/HBASE-6410 > Project: HBase > Issue Type: Sub-task > Components: metrics > Affects Versions: 0.96.0 > Reporter: Elliott Clark > Assignee: Elliott Clark > Priority: Blocker > Attachments: HBASE-6410-1.patch, HBASE-6410-2.patch, HBASE-6410-3.patch, HBASE-6410-4.patch, HBASE-6410-5.patch, HBASE-6410-6.patch, HBASE-6410.patch > > > Move RegionServer Metrics to metrics2 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira