hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12140) Add ConnectionFactory.createConnection() to create using default HBaseConfiguration.
Date Thu, 02 Oct 2014 04:02:34 GMT

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

Hudson commented on HBASE-12140:
--------------------------------

FAILURE: Integrated in HBase-TRUNK #5606 (See [https://builds.apache.org/job/HBase-TRUNK/5606/])
HBASE-12140 Add ConnectionFactory.createConnection() to create using default HBaseConfiguration.
(Jean-Marc Spaggiari)) (enis: rev 11e28eb76b0f5b55386af08e688c50ce5184c5be)
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionFactory.java


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

Mime
View raw message