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

stack commented on HBASE-12140:
-------------------------------

+1

Good by you [~enis] for branch-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
>             Fix For: 2.0.0, 0.99.1
>
>         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