Skip to content

HBASE-23171 Ensure region state error messages include server making report (branch-2.1) - #777

Merged
busbey merged 1 commit into
apache:branch-2.1from
busbey:HBASE-23171
Oct 30, 2019
Merged

HBASE-23171 Ensure region state error messages include server making report (branch-2.1)#777
busbey merged 1 commit into
apache:branch-2.1from
busbey:HBASE-23171

Conversation

@busbey

Copy link
Copy Markdown
Contributor

No description provided.

@binlijin

Copy link
Copy Markdown
Contributor

+1

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
💙reexec1m 13sDocker mode activated.
_ Prechecks _
💚dupname0m 0sNo case conflicting files found.
💚hbaseanti0m 0sPatch does not have any anti-patterns.
💚@author0m 0sThe patch does not contain any @author tags.
💛test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ branch-2.1 Compile Tests _
💚mvninstall5m 31sbranch-2.1 passed
💚compile0m 55sbranch-2.1 passed
💚checkstyle1m 31sbranch-2.1 passed
💚shadedjars4m 18sbranch has no errors when building our shaded downstream artifacts.
💚javadoc0m 34sbranch-2.1 passed
💙spotbugs2m 56sUsed deprecated FindBugs config; considering switching to SpotBugs.
💚findbugs2m 55sbranch-2.1 passed
_ Patch Compile Tests _
💚mvninstall5m 7sthe patch passed
💚compile0m 57sthe patch passed
💚javac0m 57sthe patch passed
💚checkstyle1m 26sthe patch passed
💚whitespace0m 0sThe patch has no whitespace issues.
💚shadedjars4m 21spatch has no errors when building our shaded downstream artifacts.
💚hadoopcheck21m 45sPatch does not cause any errors with Hadoop 2.7.7 2.8.5 or 3.0.3 3.1.2.
💚javadoc0m 33sthe patch passed
💚findbugs3m 7sthe patch passed
_ Other Tests _
💚unit200m 32shbase-server in the patch passed.
💚asflicense0m 25sThe patch does not generate ASF License warnings.
261m 34s
SubsystemReport/Notes
DockerClient=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-777/1/artifact/out/Dockerfile
GITHUB PR#777
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 51af2e7626df 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-777/out/precommit/personality/provided.sh
git revisionbranch-2.1 / 3f12d50
Default Java1.8.0_181
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-777/1/testReport/
Max. process+thread count4692 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-777/1/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@busbey
busbey merged commit 1b7afcc into apache:branch-2.1Oct 30, 2019
@busbey

Copy link
Copy Markdown
ContributorAuthor

thanks for the review!

@busbey
busbey deleted the HBASE-23171 branch October 30, 2019 14:00

@saintstacksaintstack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 Great.

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={}",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

region= is redundant.

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
ContributorAuthor

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?

Copy link
Copy Markdown
ContributorAuthor

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?

}
} catch (UnexpectedStateException e) {
LOG.warn(regionNode.toString() + " reported unexpteced OPEN: " + e.getMessage(), e);
LOG.warn("{} reported unexpteced OPEN: {} sever={}", regionNode.toString(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spelling

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@busbey@binlijin@Apache-HBase@saintstack