-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-25161 [hbase-meta-repair] Add tool for repairing metadata. #77
base: master
Are you sure you want to change the base?
Conversation
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried HBCK2 addFsRegionsMissingInMeta
and extraRegionsInMeta
functions? I believe those do the same as what you are proposing here, in other words, use hdfs info as the source of truth to rebuild meta.
This testcase for RegionsMerger run failed: [INFO] ------------------------------------------------------- |
@wchevreuil There is no |
This is a fallback tool to reconstruct the meta region when users are deploying a 2.x version without HBCK2 support. I think it is useful for our users? |
Have you tried use these functions and got some error? If so, we should fix that, as neither |
Hi wchevreuil, although both |
Then the only extra bit is a bulk assignment? Could it reuse |
This tool function is more similar to the hbck1 |
I agree with that, and that we can do it without the server side support for hbck2
We already have functions/methods on hbck2 that perform fixes without relying on server side support for hbck2, so I see no reason to add an entirely extra module whose scope could/should be contained within hbck2. And for this specific solution, I already mentioned some methods that could be reused by some sort of coordination logic that could give a less interactive experience, without the need to duplicate code to do essentially the same thing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my latest comment above.
@VictorZeng still working on this? |
… into HBASE-25161
@busbey What do you think of megre the Meta Repair Tool into |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
fix HBASE-25161