HBCK question: Exception in checkRegionConsistency() would kill HBCK

2015-04-22 Thread Stephen Jiang
I am looking the code at HBaseFsck#checkRegionConsistency(). It checks region consistency and repair the corruption if requested. However, this function expects some exceptions. For example, in one aspect of region repair, it calls HBaseFsckRepair#waitUntilAssigned(), if a region is in transitio

Re: HBCK question: Exception in checkRegionConsistency() would kill HBCK

2015-04-22 Thread Ted Yu
How about collecting IOException's in checkRegionConsistencyConcurrently() and wrap them in MultipleIOException: /** Encapsulate a list of {@link IOException} into an {@link IOException} */ public class MultipleIOException extends IOException { Cheers On Wed, Apr 22, 2015 at 3:52 PM, Stephen J

Re: HBCK question: Exception in checkRegionConsistency() would kill HBCK

2015-04-23 Thread Devaraj Das
I think it makes sense to continue to the other regions and eventually list out the regions that couldn't be "fixed". From: Stephen Jiang Sent: Wednesday, April 22, 2015 3:52 PM To: dev@hbase.apache.org Subject: HBCK questio