You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Carter (JIRA)" <ji...@apache.org> on 2014/04/08 19:21:16 UTC

[jira] [Created] (HBASE-10934) Provide HBaseAdminInterface to abstract HBaseAdmin

Carter created HBASE-10934:
------------------------------

             Summary: Provide HBaseAdminInterface to abstract HBaseAdmin
                 Key: HBASE-10934
                 URL: https://issues.apache.org/jira/browse/HBASE-10934
             Project: HBase
          Issue Type: Improvement
          Components: Client
            Reporter: Carter
            Priority: Minor


As HBaseAdmin is essentially the administrative API, it would seem to follow Java best practices to provide an interface to access it instead of requiring applications to use the raw object.

I am proposing (and would be happy to develop):
 * A new interface, HBaseAdminInterface, that captures the signatures of the API (HBaseAdmin will implement this interface)
 * A new method, HConnection.getHBaseAdmin(), that returns an instance of the interface




--
This message was sent by Atlassian JIRA
(v6.2#6252)