Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 83874 invoked from network); 30 Dec 2009 08:31:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Dec 2009 08:31:57 -0000 Received: (qmail 64605 invoked by uid 500); 30 Dec 2009 08:31:57 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 64482 invoked by uid 500); 30 Dec 2009 08:31:56 -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 64472 invoked by uid 99); 30 Dec 2009 08:31:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Dec 2009 08:31:56 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Wed, 30 Dec 2009 08:31:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6FB1B234C045 for ; Wed, 30 Dec 2009 00:31:29 -0800 (PST) Message-ID: <457027232.1262161889442.JavaMail.jira@brutus.apache.org> Date: Wed, 30 Dec 2009 08:31:29 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-2036) Use Configuration instead of HBaseConfiguration In-Reply-To: <1626872605.1260450618092.JavaMail.jira@brutus> 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-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated HBASE-2036: --------------------------------- Status: Patch Available (was: Open) > Use Configuration instead of HBaseConfiguration > ------------------------------------------------ > > Key: HBASE-2036 > URL: https://issues.apache.org/jira/browse/HBASE-2036 > Project: Hadoop HBase > Issue Type: Improvement > Reporter: Enis Soztutar > Attachments: hconf.patch, hconf_v1.patch > > > HBaseConfiguration extends Configuration but does not add any functionality to it. The only function is hashCode() which really should be refactored into Hadoop Configuration. > I think in all the places(especially in the client side) HBase methods and classes should accept Configuration rather than HBaseConfiguration. The creation of the configuration with the right files (hbase-site and hbase-default) should not be encapsulated in a private method, but in a public static one. > The issues has arisen in our nutch+hbase patch for which we include both nutch configuration and hbase configurations. Moreover people may want to include separate project-specific configuration files to their configurations without the need to be dependent on the HBaseConfiguration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.