hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Puranik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1758) Extract interface out of HTable
Date Mon, 14 Dec 2009 15:12:18 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790198#action_12790198

Vaibhav Puranik commented on HBASE-1758:

@Lars - Good catch. I had to send time to discover it. I had this in mind too. Thanks. If
you are changing it, can you also change the doc in HTable? I don't know whether it's setup
to inherit the doc.

> 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
> 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.

View raw message