Uh oh!
There was an error while loading. Please reload this page.
HBASE-22709 Add a chore thread in master to do hbck checking - #404
Conversation
Apache-HBase
commented
Jul 24, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 24, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 24, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 24, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 24, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 25, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 25, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 25, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 25, 2019
🎊 +1 overall
This message was automatically generated. |
saintstack
left a comment
There was a problem hiding this comment.
This is excellent.
Some comments. See what you think.
Lets get this in. I want to add the findings over in HBASE-22723 to your new hbck.jsp.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| private final Map<String, ServerName> orphanRegionsOnRSSnapshot = new HashMap<>(); | ||
| private final List<String> orphanRegionsOnFSSnapshot = new LinkedList<>(); | ||
| private final Map<String, Pair<ServerName, List<ServerName>>> inconsistentRegionsSnapshot = | ||
| new HashMap<>(); |
| try { | ||
| loadRegionsFromFS(); | ||
| } catch (IOException e) { | ||
| LOG.warn("Faile to load the regions from filesystem", e); |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| if (hbckChecker != null) { | ||
| inconsistentRegions = hbckChecker.getInconsistentRegions(); | ||
| orphanRegionsOnRS = hbckChecker.getOrphanRegionsOnRS(); | ||
| orphanRegionsOnFS = hbckChecker.getOrphanRegionsOnFS(); |
There was a problem hiding this comment.
Yeah, so this stuff could be an hour old?
There was a problem hiding this comment.
Date it? See patch in HBASE-22741. It dates the CJ run Report.
There was a problem hiding this comment.
There are a date in the latest code.
Uh oh!
There was an error while loading. Please reload this page.
saintstack
left a comment
There was a problem hiding this comment.
One other thought, is if there is overlap with existing chores?
Maybe the clusterstatuspublisher?
saintstack
left a comment
There was a problem hiding this comment.
Oh, also as a follow-on, should make it so user can trigger this chore to run... or perhaps a new shell command which is called hbck_report that runs this chore and the catalogjanitor, etc., to produce all hbck.
Apache-HBase
commented
Jul 25, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 26, 2019
💔 -1 overall
This message was automatically generated. |
infraio
commented
Jul 26, 2019
Let me check this. |
infraio
commented
Jul 26, 2019
This can be done by a new issue. |
infraio
commented
Jul 26, 2019
The ClusterStatusPublisher only publish version, master and deadservers. Didn't have overlap with this. |
Apache-HBase
commented
Jul 26, 2019
💔 -1 overall
This message was automatically generated. |
saintstack
commented
Jul 26, 2019
Ok on all of the above. Can do aggregation as a follow-on if opportunity. |
Apache-HBase
commented
Jul 26, 2019
💔 -1 overall
This message was automatically generated. |
saintstack
left a comment
There was a problem hiding this comment.
There are a few other comments that could be addressed. Missing is dating the Report but can do later I suppose?
This is great.
| if (hbckChecker != null) { | ||
| inconsistentRegions = hbckChecker.getInconsistentRegions(); | ||
| orphanRegionsOnRS = hbckChecker.getOrphanRegionsOnRS(); | ||
| orphanRegionsOnFS = hbckChecker.getOrphanRegionsOnFS(); |
There was a problem hiding this comment.
Date it? See patch in HBASE-22741. It dates the CJ run Report.
Apache-HBase
commented
Jul 27, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jul 27, 2019
🎊 +1 overall
This message was automatically generated. |
Signed-off-by: stack <stack@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: stack <stack@apache.org>
) Signed-off-by: stack <stack@apache.org> (cherry picked from commit 50e27e2) Change-Id: I1b5d8bfd183147f51f4503e4331d2de23d1656e1
No description provided.