-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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-22690 Deprecate / Remove OfflineMetaRepair in hbase-2+ #380
Conversation
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.
We can't point folks to unreleased code, so please just reference "hbck2 from hbase-operator-tools" and link to the explanation in the ref guide.
* mentioned. | ||
* | ||
* hbase org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair ... | ||
* We've deprecated this tool in hbase-2+ because it destroyed the hbase2 meta table. |
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.
Could you please move this to the deprecated Javadoc annotation, stating the earliest version it was deprecated and in which version it should be removed?
Other than the suggestions from @busbey and @HorizonNet , lgtm. Tested that hbck readonly options still work, and trying to run OMR gives the warning message without doing anything. |
Should we squash this PR @brfrn169 given you opened new one sir. Does new one address above comments? Thanks. |
💔 -1 overall
This message was automatically generated. |
Thank you for reviewing guys. I modified the patch for the review. Could you please review it? @busbey @HorizonNet |
@saintstack The new one means this PR, right? That is for the master branch. In that PR, I removed OfflineMetaRepair completely whereas in this PR (for branch-2), I changed OfflineMetaRepair to output a message pointing user to hbck2 operator tools. My intention is to deprecate in 2.x and to remove in 3.0. |
💔 -1 overall
This message was automatically generated. |
I fixed some checkstyle warnings. |
🎊 +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.
Looks excellent to me
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Thank you for reviewing @saintstack. I'll commit this. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
This is for branch-2. I changed OfflineMetaRepair to output a message pointing user to hbck2 operator tools and removed some unnecessary logics in HBaseFsck.