Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 23208 invoked from network); 16 May 2008 17:42:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 17:42:16 -0000 Received: (qmail 29805 invoked by uid 500); 16 May 2008 17:42:18 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 29789 invoked by uid 500); 16 May 2008 17:42:18 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 29778 invoked by uid 99); 16 May 2008 17:42:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 10:42:18 -0700 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; Fri, 16 May 2008 17:41:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9BB19234C115 for ; Fri, 16 May 2008 10:41:55 -0700 (PDT) Message-ID: <1730520590.1210959715636.JavaMail.jira@brutus> Date: Fri, 16 May 2008 10:41:55 -0700 (PDT) From: "Jean-Daniel Cryans (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-626) Use Visitor pattern in MetaRegion to reduce code clones in HTable and HConnectionManager In-Reply-To: <1612727624.1210709155629.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/HBASE-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans updated HBASE-626: ------------------------------------- Attachment: hbase-626-v2.patch Please review. > Use Visitor pattern in MetaRegion to reduce code clones in HTable and HConnectionManager > ---------------------------------------------------------------------------------------- > > Key: HBASE-626 > URL: https://issues.apache.org/jira/browse/HBASE-626 > Project: Hadoop HBase > Issue Type: Improvement > Components: master > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Priority: Minor > Fix For: 0.2.0 > > Attachments: hbase-626-v1.patch, hbase-626-v2.patch > > > HTable and HConnectionManager.TableServers both scan the meta region in the same way (but the later also retry one time if it fails). A Visitor pattern should be used in a new scanning method in MetaRegion to accept visitors that gather information such as region names for a table or the list of all tables. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.