[ 
https://issues.apache.org/jira/browse/HBASE-12140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Marc Spaggiari updated HBASE-12140:
----------------------------------------
    Affects Version/s: 0.99.1

> Add ConnectionFactory.createConnection() to create using default 
> HBaseConfiguration.
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-12140
>                 URL: https://issues.apache.org/jira/browse/HBASE-12140
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.99.1
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>         Attachments: HBASE-12140-v1-trunk.patch
>
>
> Add
> {code}
> ConnectionFactory.createConnection();
> {code}
> which creates a connection with a default config.
> A shortcut for
> {code}
>     Configuration conf = HBaseConfiguration.create();
>     Connection connection = ConnectionFactory.createConnection(conf);
>     HBaseAdmin admin = (HBaseAdmin)connection.getAdmin();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to