-
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-23171 Ensure region state error messages include server making report (branch-2.1) #777
Conversation
…report (branch-2.1)
+1 |
🎊 +1 overall
This message was automatically generated. |
thanks for the review! |
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.
+1 Great.
@@ -991,8 +991,8 @@ void checkOnlineRegionsReportForMeta(final ServerName serverName, final Set<byte | |||
final RegionInfo hri = getMetaRegionFromName(regionName); | |||
if (hri == null) { | |||
if (LOG.isTraceEnabled()) { | |||
LOG.trace("Skip online report for region=" + Bytes.toStringBinary(regionName) + | |||
" while meta is loading"); | |||
LOG.trace("Skip online report for region={} while meta is loading from server={}", |
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.
region= is redundant.
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.
So is server= ... smile. Who else would be making a report here.
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.
Why would the server making the report be redundant?
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.
If regionName is redundant then why does getMetaRegionFromName
take it as an argument?
@@ -1035,7 +1035,8 @@ void checkOnlineRegionsReport(final ServerStateNode serverNode, final Set<byte[] | |||
" but state has otherwise AND NO procedure is running"); | |||
} | |||
} catch (UnexpectedStateException e) { | |||
LOG.warn(regionNode.toString() + " reported unexpteced OPEN: " + e.getMessage(), e); | |||
LOG.warn("{} reported unexpteced OPEN: {} sever={}", regionNode.toString(), |
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.
spelling
No description provided.