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-23315 Miscellaneous HBCK Report page cleanup #847
Conversation
saintstack
commented
Nov 18, 2019
- Add a bit of javadoc around SerialReplicationChecker.
- Miniscule edit to the profiler jsp page and then a bit of doc on how to make it work that might help.
- Add some detail if NPE getting BitSetNode to help w/ debug.
- Change HbckChore to log region names instead of encoded names; helps doing diagnostics; can take region name and query in shell to find out all about the region according to hbase:meta.
- Add some fix-it help inline in the HBCK Report page – how to fix.
- Add counts in procedures page so can see if making progress; move listing of WALs to end of the page.
💔 -1 overall
This message was automatically generated. |
* Add a bit of javadoc around SerialReplicationChecker. * Miniscule edit to the profiler jsp page and then a bit of doc on how to make it work that might help. * Add some detail if NPE getting BitSetNode to help w/ debug. * Change HbckChore to log region names instead of encoded names; helps doing diagnostics; can take region name and query in shell to find out all about the region according to hbase:meta. * Add some fix-it help inline in the HBCK Report page – how to fix. * Add counts in procedures page so can see if making progress; move listing of WALs to end of the page.
5b3cec4
to
a8b99f6
Compare
💔 -1 overall
This message was automatically generated. |
Merging these small changes by hand with fix for the above checkstyle too-long-lines complaint |
<p> | ||
<span> | ||
The below are Regions we've lost account of. To be safe, run bulk load of any data found in these Region orphan directories back into the HBase cluster. | ||
First make sure hbase:meta is in healthy state; run 'hbkc2 fixMeta' to be sure. Once this is done, per Region below, run a bulk |
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.
"hbck2 fixMeta
"
<span> | ||
The below are Regions we've lost account of. To be safe, run bulk load of any data found in these Region orphan directories back into the HBase cluster. | ||
First make sure hbase:meta is in healthy state; run 'hbkc2 fixMeta' to be sure. Once this is done, per Region below, run a bulk | ||
load -- '$ hbase completebulkload REGION_DIR_PATH TABLE_NAME' -- and then delete the desiccated directory content (HFiles are removed upon successful load; all that is left are empty directories |
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.
Yuck. In a table with lots of busted regions, this completeBulkLoad
would be tedious. Maybe we need a new hbck2 bulkloadOrphanedRegions
command that can identify the orphans, bulk load them, and clean up the husks.
@@ -81,11 +81,14 @@ | |||
<th>Errors</th> | |||
<th>Parameters</th> | |||
</tr> | |||
<% for (Procedure<?> proc : procedures) { | |||
<% |
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.
I can't believe we're still actively maintaining JSP in 2020.
Belated +1. |