Some improvements to Hbck to test the entire region chain in Meta and provide
better error reporting
----------------------------------------------------------------------------------------------------
Key: HBASE-3695
URL: https://issues.apache.org/jira/browse/HBASE-3695
Project: HBase
Issue Type: Improvement
Components: util
Affects Versions: 0.90.1
Reporter: Marc Limotte
Assignee: Marc Limotte
The current Hbck tool will miss some inconsistencies in Meta, and in other
cases will detect an issue, but does not provide much in the way of useful
feedback.
* Incorporate the full region chain tests (similar to check_meta.rb). I.e. look
for overlaps, holes and cycles. I believe check_meta.rb will be redundant after
this change.
* More unit tests, and better tests that will test the actual error discovered,
instead of just errors true/false.
* In the case of overlaps and holes, output both ends of the broken chain.
* Previous implementation runs check() twice. This is inefficient and, more
importantly, reports redundant errors which could be confusing to the user.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira