DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Store HBase

HTablePool is deprecated in HBase 0.94.11, 0.95.2 onwards

Created: 09/Dec/13 05:34 PM   Updated: 07/Jun/14 05:19 PM   Resolved: 06/Jun/14 04:27 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.0.release

 Description  « Hide

The new method is like this :-

// Create a connection to the cluster.
HConnection connection = HConnectionManager.createConnection(Configuration);
HTableInterface table = connection.getTable("myTable");
// use table as needed, the table returned is lightweight
// use the connection for other access to the cluster

This will actually mean that we can likely get rid of HBaseConnectionPool and merge HBaseManagedConnection back into ConnectionFactoryImpl - so its like the other store plugins

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 06/Jun/14 04:27 PM
GitHub master removes usage of HTablePool and uses HConnection as per HBase migration doc