Jean-Marc Spaggiari created HBASE-12140:
-------------------------------------------

             Summary: 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
            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