Closed JThink closed 10 years ago
Is user region and index region balanced at the same time ?
When put data into Hbase, it cause dead-lock issues, after track the code, i found in HRegion.batchMutate method.
HRegion.batchMutate
startRegionOperation(); if (coprocessorHost != null) { coprocessorHost.postStartRegionOperation(); ------a } try { ...... } finally { closeRegionOperation(); ----------b if (coprocessorHost != null) { coprocessorHost.postCloseRegionOperation(); } } ......
When execute 'a' step, the index region has not been banlanced to this server, it will throw IOException and do not execute 'b' step, then cause the deadlock when closing this region.
IOException
Could you check it?
Hi This is same as https://github.com/Huawei-Hadoop/hindex/issues/26 Will fix now..Thanks for reporting.
@JThink We have fixed #26 now. Can you try it with latest build. Thanks..
@chrajeshbabu Thank you!
Is user region and index region balanced at the same time ?
When put data into Hbase, it cause dead-lock issues, after track the code, i found in
HRegion.batchMutate
method.When execute 'a' step, the index region has not been banlanced to this server, it will throw
IOException
and do not execute 'b' step, then cause the deadlock when closing this region.Could you check it?