Need info about hbase connection pool

2015-03-18 Thread OM PARKASH Nain
Hi, I am using hbase connection pooling using HConnection hConnection=HConnectionManager.createConnection(conf); I see most of method of HConnectionManager goes to depreciated. Please provide to me best way to create Hbase connection pool and what your future plan for this topic. thanks

Re: Need info about hbase connection pool

2015-03-18 Thread Solomon Duskis
HConnection is also deprecated. It would be better to do: Connection connection = ConnectionFactory.createConnection(conf); On Wed, Mar 18, 2015 at 7:55 AM, OM PARKASH Nain mr.omparkashn...@gmail.com wrote: Hi, I am using hbase connection pooling using HConnection

Re: Need info about hbase connection pool

2015-03-18 Thread Nick Dimiduk
In 1.0+ API, there's no more automatic pooling. You application uses the ConnectionFactory (as Solomon says) to get a connection instance for the application, and retrieve accessor objects (Table, Admin, c) from that singleton. Have a look at https://github.com/ndimiduk/hbase-1.0-api-examples for