Re: HConnection.locateRegions returns null

2013-01-03 Thread Lyska Anton
ateRegion(final byte [] tableName, final byte [] row), and iterates on all region start keys to get all the regions. Cheers, Nicolas On Wed, Jan 2, 2013 at 5:17 PM, Lyska Anton wrote: Hi all, I want to write simple tool for rebalancing regions in cluster. For that I need current location of all

HConnection.locateRegions returns null

2013-01-02 Thread Lyska Anton
Hi all, I want to write simple tool for rebalancing regions in cluster. For that I need current location of all regions. I've found method HConnection.locateRegions(tableName), but it always returns null. Also, i've tried to call HConnection.locateRegion(regionName), and it returns null too. s

Re: Insert blocked

2012-07-24 Thread Lyska Anton
Hi, after first insert you are closing your table in finally block. thats why thread hangs 24.07.2012 3:41, Mohit Anchlia пишет: I am now using HTablePool but still the call hangs at "put". My code is something like this: hTablePool = *new* HTablePool(config,*MAX_POOL_SIZE*); result = *new*