Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
This is further cleanup of the HBase interface for 1.0 after implementing the new Table and Admin interfaces. Following Enis's guidelines in HBASE-10602, this JIRA will generate a new ConnectionManager to replace HCM and Connection to replace HConnection.
For more detail, this JIRA intends to implement this portion:
interface Connection extends Closeable{ Table getTable(), and rest of HConnection methods getAdmin() // no deprecated methods (cache related etc) } @Deprecated interface HConnection extends Connection { @Deprecated HTableInterface getTable() // users are encouraged to use Connection } class ConnectionManager { createConnection(Configuration) // not sure whether we want a static factory method to create connections or a ctor } @Deprecated class HCM extends ConnectionManager { // users are encouraged to use ConnectionManager }
Attachments
Attachments
Issue Links
- blocks
-
HBASE-11995 Use Connection and ConnectionFactory where possible
- Closed
- is depended upon by
-
HBASE-11879 Change TableInputFormatBase to take interface arguments
- Closed
- is part of
-
HBASE-10602 Cleanup HTable public interface
- Closed
- relates to
-
HBASE-12017 Use Connection.createTable() instead of HTable constructors.
- Closed