Skip to content

HBASE-25329 Dump region hashes in logs for the regions that are stuck in transition for more than a configured amount of time - #2762

Merged
virajjasani merged 1 commit into
apache:branch-1from
caroliney14:HBASE-25329-branch-1
Jan 20, 2021
Merged

HBASE-25329 Dump region hashes in logs for the regions that are stuck in transition for more than a configured amount of time#2762
virajjasani merged 1 commit into
apache:branch-1from
caroliney14:HBASE-25329-branch-1

Conversation

@caroliney14

Copy link
Copy Markdown
Contributor

No description provided.

@caroliney14
caroliney14force-pushed the HBASE-25329-branch-1 branch 2 times, most recently from 67198af to 61c1278CompareDecember 10, 2020 18:26
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 42sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+0 🆗mvndep2m 23sMaven dependency ordering for branch
+1 💚mvninstall8m 7sbranch-1 passed
+1 💚compile1m 12sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile1m 17sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle2m 10sbranch-1 passed
+1 💚shadedjars3m 0sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 9sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 13sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 58sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 21sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall2m 4sthe patch passed
+1 💚compile1m 12sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac1m 12sthe patch passed
+1 💚compile1m 26sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 26sthe patch passed
-1 ❌checkstyle1m 45shbase-server: The patch generated 2 new + 251 unchanged - 0 fixed = 253 total (was 251)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 51spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 46sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 59sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 16sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚findbugs4m 25sthe patch passed
_ Other Tests _
+1 💚unit0m 29shbase-hadoop-compat in the patch passed.
+1 💚unit0m 40shbase-hadoop2-compat in the patch passed.
-1 ❌unit121m 34shbase-server in the patch failed.
+1 💚asflicense1m 14sThe patch does not generate ASF License warnings.
181m 27s
ReasonTests
Failed junit testshadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/1/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux ac24713412f8 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / 8e45165
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/1/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/1/testReport/
Max. process+thread count4200 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/1/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 45sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+0 🆗mvndep2m 21sMaven dependency ordering for branch
+1 💚mvninstall8m 22sbranch-1 passed
+1 💚compile1m 18sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile1m 27sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle2m 26sbranch-1 passed
+1 💚shadedjars3m 37sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 16sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 24sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs3m 29sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs5m 0sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 20sMaven dependency ordering for patch
+1 💚mvninstall2m 20sthe patch passed
+1 💚compile1m 14sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac1m 14sthe patch passed
+1 💚compile1m 23sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 23sthe patch passed
-1 ❌checkstyle1m 38shbase-server: The patch generated 2 new + 251 unchanged - 0 fixed = 253 total (was 251)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 56spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 50sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc1m 0sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 15sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚findbugs4m 29sthe patch passed
_ Other Tests _
+1 💚unit0m 28shbase-hadoop-compat in the patch passed.
+1 💚unit0m 37shbase-hadoop2-compat in the patch passed.
+1 💚unit105m 14shbase-server in the patch passed.
+1 💚asflicense1m 1sThe patch does not generate ASF License warnings.
161m 48s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/2/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 71f6463d256d 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / 8e45165
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/2/artifact/out/diff-checkstyle-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/2/testReport/
Max. process+thread count4262 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/2/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

if (oldestRITTime < ritTime) {
oldestRITTime = ritTime;
}
if (counter < 500) { // Record 500 oldest RITs

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.

500 seems high to me. Would 20 be enough? Should this be a constant in the file, even if not configurable?


LOG.debug("Oldest RIT hashes and states: " + oldestRITHashesAndStates.toString());
long time = EnvironmentEdgeManager.currentTime();
if ((time - ritThreshold / 2) >= this.lastRITHashMetricUpdate) {

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.

Why do we update the metrics hashes only if it's been more than ritThreshold / 2 time since last update? If we do the work to find the oldest, it seems like we should update the metrics always. Then any query to get metrics will always have the most recent results (~3 seconds old at max, with default hbase.regionserver.msginterval)

Though I do think it's a good idea for limiting the logging. Should the LOG.debug statement be in here?

Then this statement may deserve a comment.

Suggested change
if((time - ritThreshold / 2) >= this.lastRITHashMetricUpdate) {
// Only log if it has been long enough since the last update (default 30 seconds)
if ((time - ritThreshold / 2) >= this.lastRITHashMetricUpdate) {

@caroliney14caroliney14Dec 16, 2020

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.

Though I do think it's a good idea for limiting the logging. Should the LOG.debug statement be in here?

yes it is for the reason you stated. will add the comment and move LOG.debug under this condition. maybe the other stuff can be moved outside.

this.metricsAssignmentManager.updateRITCountOverThreshold(totalRITsOverThreshold);

LOG.debug("Oldest RIT hashes and states: " + oldestRITHashesAndStates.toString());
long time = EnvironmentEdgeManager.currentTime();

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.

can we just reuse currentTime here from the beginning of the method?

getInt(HConstants.METRICS_RIT_STUCK_WARNING_THRESHOLD, 60000);
for (RegionState state: regionStates.getRegionsInTransition()) {
int counter = 0;
for (RegionState state: regionStates.getRegionsInTransitionOrderedByDuration()) {

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.

since this method uses the state.getStamp() to determine whether the RIT is over the threshold or the oldest time... should we just use getRegionsInTransitionOrderedByTimestamp instead?

This new method getRegionsInTransitionOrderedByDuration is tracking total duration instead of duration since last state transition, so the longest RITs may not necessarily be those that are reported over threshold. I think it's probably good to be consistent... I'm not sure which way is better to be consistent, but since these metrics in this method are reporting time since last change instead of total duration, I'd favor that approach.

oldestRITTime = ritTime;
}
if (counter < 500) { // Record 500 oldest RITs
oldestRITHashesAndStates.add(

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.

should we also filter these to only those RITs that are over the threshold? Or do we want to display every RIT, even if it's only been transitioning for 100ms, if it's the longest/only RIT in the cluster?

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.

I think it makes sense to only record RITs over threshold, since those would be the problematic ones

}
if (counter < 500) { // Record 500 oldest RITs
oldestRITHashesAndStates.add(
state.getRegion().getRegionNameAsString() + ":" + state.getState().name()

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.

Do we have to use name() as I see other references use state.getState() directly.

region names could be quite long - when you refer to hash, did you want the md5 encoded name?

Suggested change
state.getRegion().getRegionNameAsString() + ":" + state.getState().name()
state.getRegion().getEncodedName() + ":" + state.getState()

Or should the entire region name be available?

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 the md5 encoded name is enough info for debugging (which I think yes), then it should suffice to use that 👍

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.

as for state, that is an enum, and we want the state name, which is why I added .name(). see this SO

this.metricsAssignmentManager.updateRITCount(totalRITs);
this.metricsAssignmentManager.updateRITCountOverThreshold(totalRITsOverThreshold);

LOG.debug("Oldest RIT hashes and states: " + oldestRITHashesAndStates.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.

we should only log if oldestRITHashesAndStates is non-empty.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 36sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+0 🆗mvndep2m 24sMaven dependency ordering for branch
+1 💚mvninstall7m 53sbranch-1 passed
+1 💚compile1m 8sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile1m 17sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle2m 12sbranch-1 passed
+1 💚shadedjars3m 2sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 8sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 15sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 43sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 9sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall1m 56sthe patch passed
+1 💚compile1m 9sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac1m 9sthe patch passed
+1 💚compile1m 19sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 19sthe patch passed
-1 ❌checkstyle1m 37shbase-server: The patch generated 2 new + 251 unchanged - 0 fixed = 253 total (was 251)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 50spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 39sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc1m 1sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 17sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚findbugs4m 20sthe patch passed
_ Other Tests _
+1 💚unit0m 29shbase-hadoop-compat in the patch passed.
+1 💚unit0m 39shbase-hadoop2-compat in the patch passed.
-1 ❌unit107m 2shbase-server in the patch failed.
+1 💚asflicense1m 13sThe patch does not generate ASF License warnings.
159m 31s
ReasonTests
Failed junit testshadoop.hbase.master.TestAssignmentManagerMetrics
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/3/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux b3d95c899b03 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / 8e45165
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/3/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/3/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/3/testReport/
Max. process+thread count4001 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/3/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 35sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+0 🆗mvndep2m 23sMaven dependency ordering for branch
+1 💚mvninstall7m 59sbranch-1 passed
+1 💚compile1m 11sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile1m 19sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle2m 16sbranch-1 passed
+1 💚shadedjars3m 2sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 9sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 17sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 43sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 6sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall1m 52sthe patch passed
+1 💚compile1m 11sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac1m 11sthe patch passed
+1 💚compile1m 19sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 19sthe patch passed
+1 💚checkstyle2m 8sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 51spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 33sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc1m 0sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 13sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚findbugs4m 26sthe patch passed
_ Other Tests _
+1 💚unit0m 29shbase-hadoop-compat in the patch passed.
+1 💚unit0m 39shbase-hadoop2-compat in the patch passed.
+1 💚unit113m 19shbase-server in the patch passed.
+1 💚asflicense1m 25sThe patch does not generate ASF License warnings.
166m 9s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/4/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 79e82eb440e3 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / 8e45165
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/4/testReport/
Max. process+thread count4202 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/4/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@caroliney14

Copy link
Copy Markdown
ContributorAuthor

@virajjasani@bharathv do you mind taking a look at this? thanks!

@bharathv

Copy link
Copy Markdown
Contributor

Thanks for putting this together. Definitely useful to have more insights into RIT states. I added a comment in the jira. Would like to know your thoughts.

@virajjasani

Copy link
Copy Markdown
Contributor

I just realized that this branch-1 backport PR also has review comments.
Since consolidated discussion is happening on Jira, when @caroliney14 refresh PRs, we can start reviewing master branch PR #2761 first else it might be difficult to track separate reviews happening on separate PRs :)
Let me mark this PR with backport label. Thanks @caroliney14

@virajjasanivirajjasani added the backport This PR is a back port of some issue or issues already committed to master label Jan 7, 2021
if (ritTime > ritThreshold) { // more than the threshold
totalRITsOverThreshold++;
if (ritsOverThreshold == null) {
ritsOverThreshold = new HashMap<String, RegionState>();

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.

nit: new HashMap<>()

if (LOG.isDebugEnabled() && ritsOverThreshold != null && !ritsOverThreshold.isEmpty()) {
StringBuilder sb = new StringBuilder();
for (String regionName: ritsOverThreshold.keySet()) {
sb.append(regionName + ":" + ritsOverThreshold.get(regionName).getState().name() + "\n");

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.

nit: use chain of append() to cover String concatenation?

 sb.append(regionName).append(":")
.append(ritsOverThreshold.get(regionName).getState().name()).append("\n");

for (String regionName: ritsOverThreshold.keySet()) {
sb.append(regionName + ":" + ritsOverThreshold.get(regionName).getState().name() + "\n");
}
sb.delete(sb.length()-2, sb.length());

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.

Do we want to remove last appended new line char? If so, start index should be sb.length()-1 right?

@virajjasanivirajjasani 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.

Left few nits and one question on what we want to remove from StringBuilder

int totalRITs = 0;
int totalRITsOverThreshold = 0;
long oldestRITTime = 0;
HashMap<String, RegionState> ritsOverThreshold = null;

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.

nit: Map<String, RegionState> ritsOverThreshold = null

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 44sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+0 🆗mvndep2m 24sMaven dependency ordering for branch
+1 💚mvninstall7m 56sbranch-1 passed
+1 💚compile1m 9sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile1m 20sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle2m 10sbranch-1 passed
+1 💚shadedjars3m 10sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 13sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 20sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 47sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 15sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall2m 2sthe patch passed
+1 💚compile1m 14sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac1m 14sthe patch passed
+1 💚compile1m 20sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 20sthe patch passed
+1 💚checkstyle2m 6sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 54spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck5m 26sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc1m 1sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 27sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
-1 ❌findbugs3m 32shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚unit0m 28shbase-hadoop-compat in the patch passed.
+1 💚unit0m 40shbase-hadoop2-compat in the patch passed.
+1 💚unit101m 29shbase-server in the patch passed.
+1 💚asflicense1m 14sThe patch does not generate ASF License warnings.
163m 19s
ReasonTests
FindBugsmodule:hbase-server
org.apache.hadoop.hbase.master.AssignmentManager.updateRegionsInTransitionMetrics() makes inefficient use of keySet iterator instead of entrySet iterator At AssignmentManager.java:keySet iterator instead of entrySet iterator At AssignmentManager.java:[line 3561]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/5/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux c941e1ef10ee 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / a6b0d5b
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/5/artifact/out/new-findbugs-hbase-server.html
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/5/testReport/
Max. process+thread count4264 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/5/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 42sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+0 🆗mvndep2m 24sMaven dependency ordering for branch
+1 💚mvninstall7m 49sbranch-1 passed
+1 💚compile1m 10sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile1m 19sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle2m 15sbranch-1 passed
+1 💚shadedjars3m 4sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 8sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 18sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 43sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 5sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall1m 56sthe patch passed
+1 💚compile1m 9sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac1m 9sthe patch passed
+1 💚compile1m 20sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 20sthe patch passed
+1 💚checkstyle2m 7sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 50spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 49sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc1m 0sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 14sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
-1 ❌findbugs2m 54shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚unit0m 28shbase-hadoop-compat in the patch passed.
+1 💚unit0m 40shbase-hadoop2-compat in the patch passed.
+1 💚unit107m 28shbase-server in the patch passed.
+1 💚asflicense1m 10sThe patch does not generate ASF License warnings.
160m 19s
ReasonTests
FindBugsmodule:hbase-server
org.apache.hadoop.hbase.master.AssignmentManager.updateRegionsInTransitionMetrics() makes inefficient use of keySet iterator instead of entrySet iterator At AssignmentManager.java:keySet iterator instead of entrySet iterator At AssignmentManager.java:[line 3561]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/6/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux e8dbcb6414de 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / a6b0d5b
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/6/artifact/out/new-findbugs-hbase-server.html
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/6/testReport/
Max. process+thread count4147 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/6/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

}
if (LOG.isDebugEnabled() && ritsOverThreshold != null && !ritsOverThreshold.isEmpty()) {
StringBuilder sb = new StringBuilder();
for (String regionName: ritsOverThreshold.keySet()) {

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.

If you could convert this to entrySet(), that would be great (as per findbugs)

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 48sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+0 🆗mvndep2m 25sMaven dependency ordering for branch
+1 💚mvninstall7m 57sbranch-1 passed
+1 💚compile1m 14sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile1m 21sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle2m 12sbranch-1 passed
+1 💚shadedjars3m 4sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 11sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 15sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 41sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 6sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall1m 55sthe patch passed
+1 💚compile1m 10sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac1m 10sthe patch passed
+1 💚compile1m 20sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 20sthe patch passed
+1 💚checkstyle2m 11sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 55spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 44sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc1m 1sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 16sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
-1 ❌findbugs2m 57shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚unit0m 29shbase-hadoop-compat in the patch passed.
+1 💚unit0m 39shbase-hadoop2-compat in the patch passed.
-1 ❌unit48m 10shbase-server in the patch failed.
+1 💚asflicense0m 50sThe patch does not generate ASF License warnings.
101m 7s
ReasonTests
FindBugsmodule:hbase-server
java.util.Map$Entry<java.lang.String,org.apache.hadoop.hbase.master.RegionState> is incompatible with expected argument type String in org.apache.hadoop.hbase.master.AssignmentManager.updateRegionsInTransitionMetrics() At AssignmentManager.java:argument type String in org.apache.hadoop.hbase.master.AssignmentManager.updateRegionsInTransitionMetrics() At AssignmentManager.java:[line 3561]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/7/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 63e88abccdce 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / a6b0d5b
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/7/artifact/out/new-findbugs-hbase-server.html
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/7/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/7/testReport/
Max. process+thread count768 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/7/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 36sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-0 ⚠️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-1 Compile Tests _
+0 🆗mvndep2m 23sMaven dependency ordering for branch
+1 💚mvninstall7m 52sbranch-1 passed
+1 💚compile0m 55sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile1m 1sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle1m 58sbranch-1 passed
+1 💚shadedjars3m 2sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 55sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc0m 58sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 41sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 26sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall1m 56sthe patch passed
+1 💚compile0m 53sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac0m 53sthe patch passed
+1 💚compile0m 59sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac0m 59sthe patch passed
+1 💚checkstyle1m 53sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 52spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 39sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 46sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc0m 58sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
-1 ❌findbugs2m 57shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚unit0m 30shbase-hadoop-compat in the patch passed.
-1 ❌unit105m 48shbase-server in the patch failed.
+1 💚asflicense0m 53sThe patch does not generate ASF License warnings.
152m 57s
ReasonTests
FindBugsmodule:hbase-server
java.util.Map$Entry<java.lang.String,org.apache.hadoop.hbase.master.RegionState> is incompatible with expected argument type String in org.apache.hadoop.hbase.master.AssignmentManager.updateRegionsInTransitionMetrics() At AssignmentManager.java:argument type String in org.apache.hadoop.hbase.master.AssignmentManager.updateRegionsInTransitionMetrics() At AssignmentManager.java:[line 3561]
Failed junit testshadoop.hbase.master.TestAssignmentManagerMetrics
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/8/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 03271de6b187 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / a6b0d5b
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/8/artifact/out/new-findbugs-hbase-server.html
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/8/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/8/testReport/
Max. process+thread count4227 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/8/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@virajjasanivirajjasani 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.

Pending one minor update after last iteration, else good to go

Comment on lines +3561 to +3562
sb.append(regionName).append(":")
.append(ritsOverThreshold.get(regionName).getState().name()).append("\n");

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.

This should be:

 sb.append(regionName.getKey()).append(":")
.append(regionName.getValue().getState().name()).append("\n");

… in transition for more than a configured amount of time

@virajjasanivirajjasani 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, pending QA

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 35sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-0 ⚠️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-1 Compile Tests _
+0 🆗mvndep2m 22sMaven dependency ordering for branch
+1 💚mvninstall8m 2sbranch-1 passed
+1 💚compile0m 53sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile0m 59sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle1m 58sbranch-1 passed
+1 💚shadedjars3m 2sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 54sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc0m 57sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 41sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 27sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall1m 59sthe patch passed
+1 💚compile0m 56sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac0m 56sthe patch passed
+1 💚compile0m 59sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac0m 59sthe patch passed
+1 💚checkstyle1m 52sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 50spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 41sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 46sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 0sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚findbugs3m 34sthe patch passed
_ Other Tests _
+1 💚unit0m 28shbase-hadoop-compat in the patch passed.
+1 💚unit108m 56shbase-server in the patch passed.
+1 💚asflicense0m 53sThe patch does not generate ASF License warnings.
156m 10s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/9/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux df3d4acc9a8c 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / a6b0d5b
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/9/testReport/
Max. process+thread count4160 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/9/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 59sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-0 ⚠️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-1 Compile Tests _
+0 🆗mvndep2m 23sMaven dependency ordering for branch
+1 💚mvninstall7m 55sbranch-1 passed
+1 💚compile0m 55sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile0m 59sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle1m 57sbranch-1 passed
+1 💚shadedjars3m 2sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 55sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc0m 58sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 41sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 26sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for patch
+1 💚mvninstall1m 59sthe patch passed
+1 💚compile0m 55sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac0m 55sthe patch passed
+1 💚compile1m 0sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 0sthe patch passed
+1 💚checkstyle1m 52sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 51spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 42sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 44sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc0m 59sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚findbugs3m 35sthe patch passed
_ Other Tests _
+1 💚unit0m 29shbase-hadoop-compat in the patch passed.
+1 💚unit105m 44shbase-server in the patch passed.
+1 💚asflicense0m 47sThe patch does not generate ASF License warnings.
159m 15s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/10/artifact/out/Dockerfile
GITHUB PR#2762
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux d6684fcee9fa 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2762/out/precommit/personality/provided.sh
git revisionbranch-1 / a6b0d5b
Default JavaAzul Systems, Inc.-1.7.0_272-b10
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/10/testReport/
Max. process+thread count4249 (vs. ulimit of 10000)
modulesC: hbase-hadoop-compat hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2762/10/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@virajjasani
virajjasani merged commit a819012 into apache:branch-1Jan 20, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backportThis PR is a back port of some issue or issues already committed to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@caroliney14@Apache-HBase@bharathv@virajjasani@d-c-manning