hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13025) Broken link for "Client Package Javadoc Description" under section 61.1. Cluster Connections in 'http://hbase.apache.org/book.html#architecture.client'
Date Thu, 12 Feb 2015 06:28:12 GMT
Abhishek Kumar created HBASE-13025:
--------------------------------------

             Summary: Broken link for "Client Package Javadoc Description"  under section
61.1. Cluster Connections in 'http://hbase.apache.org/book.html#architecture.client'
                 Key: HBASE-13025
                 URL: https://issues.apache.org/jira/browse/HBASE-13025
             Project: HBase
          Issue Type: Bug
            Reporter: Abhishek Kumar
            Priority: Minor


*61.1. Cluster Connections*
{quote}
The API changed in HBase 1.0. Its been cleaned up and users are returned Interfaces to work
against rather than particular types. In HBase 1.0, obtain a cluster Connection from ConnectionFactory
and thereafter, get from it instances of Table, Admin, and RegionLocator on an as-need basis.
When done, close obtained instances. Finally, be sure to cleanup your Connection instance
before exiting. Connections are heavyweight objects. Create once and keep an instance around.
Table, Admin and RegionLocator instances are lightweight. Create as you go and then let go
as soon as you are done by closing them. See the {color:red}Client Package Javadoc Description{color}
for example usage of the new HBase 1.0 API.
{quote}



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

Mime
View raw message