[
https://issues.apache.org/jira/browse/HBASE-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694382#action_12694382
]
Onur GUN commented on HBASE-7:
------------------------------
I am trying to finalize my proposal and i welcome any comments for the below.
I have examined Ryan's patch and for deleting bogus entries in .META. In the
patch there is a comment that "it is a trivial fix case". At this point i
wonder if we can have any other cases for bogus entries that hbasfck should
resolve in a different manner.
And since we are vulnerable in deletion, flush and HLog, I guess hbascfck
should assume that some of these are resolved. If we are fixing meta from
files, we assume that files are correct.
As of now i guess what needs to be done is:
1-)We should force flush and compaction (for now we can have problems related
to incomplete cache flush and HLog). After that we should put table into
safe-mode(since otherwise hbasfck can not operate safely, and i guess this will
be similar to dfsadmin safemode).
2-)Recovering root region from meta regions.
3-)Listing all regions, comparing them with the .META. As a result recovering
meta from regions
by adding or deleting (Done by Ryan's patch i guess) .META entries.
4-)Checking info files.
More can be:
5-) Adding an option for taking a snapshot before the fix.
6-) Creating a log file that can be used to track improvement needs and
problems.
> [hbase] Provide a HBase checker and repair tool similar to fsck
> ---------------------------------------------------------------
>
> Key: HBASE-7
> URL: https://issues.apache.org/jira/browse/HBASE-7
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: util
> Reporter: Jim Kellerman
> Fix For: 0.20.0
>
> Attachments: HBASE-7.patch, patch.txt
>
>
> We need a tool to verify (and repair) HBase much like fsck
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.