hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Spaggiari (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12140) Add ConnectionFactory.createConnection() to create using default HBaseConfiguration.
Date Wed, 01 Oct 2014 14:13:34 GMT

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

Jean-Marc Spaggiari updated HBASE-12140:
----------------------------------------
    Component/s: Client

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

Mime
View raw message