Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 99471 invoked from network); 3 Dec 2009 03:32:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Dec 2009 03:32:47 -0000 Received: (qmail 3544 invoked by uid 500); 3 Dec 2009 03:32:46 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 3435 invoked by uid 500); 3 Dec 2009 03:32:44 -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 3425 invoked by uid 99); 3 Dec 2009 03:32:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 03:32:44 +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; Thu, 03 Dec 2009 03:32:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D2B47234C045 for ; Wed, 2 Dec 2009 19:32:21 -0800 (PST) Message-ID: <816962244.1259811141848.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 03:32:21 +0000 (UTC) From: "Lars Francke (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-1758) Extract interface out of HTable In-Reply-To: <344961530.1250000415314.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-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Francke updated HBASE-1758: -------------------------------- Attachment: HTableinterface-deletes.patch Stumbled across these two things: * delete(List) is missing from the interface (but present in HTable) * I think get(Get) should mention what happens when the row could not be found so I edited the JavaDoc for this one I hope this is the right place for this. Didn't know if I should open a new ticket for it. > Extract interface out of HTable > ------------------------------- > > Key: HBASE-1758 > URL: https://issues.apache.org/jira/browse/HBASE-1758 > Project: Hadoop HBase > Issue Type: Improvement > Components: client > Reporter: Vaibhav Puranik > Fix For: 0.21.0 > > Attachments: HTableinterface-deletes.patch, HTableInterface.patch, HTableInterface.patch > > > As per discussions in Hackathon, we have extracted interface out of HTable and named it as HTableInterface. This will make unit testing client code easier and simplify client API. > It opens other possibilities such as creating a HTable that does not do any RPC calls, MockHTable etc. > HTablePool still returns HTable instances. But we have added a setter method for HTableInterfaceFactory on it. Thus developers can write their own HTableInterfaceFactory impl to return their own HTableInterface implementation. > I have assigned this issue to 0.21 but you may consider it to move it to 0.20 if possible. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.