HBASE-25161 [hbase-meta-repair] Add tool for repairing metadata.#77
HBASE-25161 [hbase-meta-repair] Add tool for repairing metadata.#77VictorZeng wants to merge 9 commits intoapache:masterfrom
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. |
wchevreuil
left a comment
There was a problem hiding this comment.
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. |
wchevreuil
left a comment
There was a problem hiding this comment.
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