Skip to content

HBASE-24849 Branch-1 Backport : HBASE-24665 MultiWAL : Avoid rolling of ALL WALs when one of the WAL needs a roll - #2194

Merged
Reidddddd merged 10 commits into
apache:branch-1from
WenFeiYi:HBASE-24665_branch-1
Oct 16, 2020
Merged

HBASE-24849 Branch-1 Backport : HBASE-24665 MultiWAL : Avoid rolling of ALL WALs when one of the WAL needs a roll#2194
Reidddddd merged 10 commits into
apache:branch-1from
WenFeiYi:HBASE-24665_branch-1

Conversation

@WenFeiYi

Copy link
Copy Markdown
Contributor

No description provided.

@anoopsjohn

Copy link
Copy Markdown
Contributor

branch-1 also had issue with precommit QA. This is fixed now. Can u pls do a commit (new line or so) to trigger QA

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec12m 1sDocker 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 _
+1 💚mvninstall9m 42sbranch-1 passed
+1 💚compile0m 40sbranch-1 passed with JDK v1.8.0_262
+1 💚compile0m 44sbranch-1 passed with JDK v1.7.0_272
+1 💚checkstyle1m 38sbranch-1 passed
+1 💚shadedjars3m 2sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 47sbranch-1 passed with JDK v1.8.0_262
+1 💚javadoc0m 41sbranch-1 passed with JDK v1.7.0_272
+0 🆗spotbugs3m 0sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 56sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall1m 52sthe patch passed
+1 💚compile0m 40sthe patch passed with JDK v1.8.0_262
+1 💚javac0m 40sthe patch passed
+1 💚compile0m 43sthe patch passed with JDK v1.7.0_272
+1 💚javac0m 43sthe patch passed
+1 💚checkstyle1m 27sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 45spatch 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 💚javadoc0m 31sthe patch passed with JDK v1.8.0_262
+1 💚javadoc0m 42sthe patch passed with JDK v1.7.0_272
-1 ❌findbugs2m 54shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚unit131m 34shbase-server in the patch passed.
+1 💚asflicense0m 33sThe patch does not generate ASF License warnings.
183m 51s
ReasonTests
FindBugsmodule:hbase-server
Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:[line 77]
SubsystemReport/Notes
DockerClient=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/2/artifact/out/Dockerfile
GITHUB PR#2194
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 42f2940b77ba 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2194/out/precommit/personality/provided.sh
git revisionbranch-1 / 839ce8e
Default Java1.7.0_272
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/2/artifact/out/new-findbugs-hbase-server.html
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/2/testReport/
Max. process+thread count3967 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/2/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 18sDocker 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 _
+1 💚mvninstall9m 57sbranch-1 passed
+1 💚compile0m 38sbranch-1 passed with JDK v1.8.0_262
+1 💚compile0m 43sbranch-1 passed with JDK v1.7.0_272
+1 💚checkstyle1m 38sbranch-1 passed
+1 💚shadedjars3m 9sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 50sbranch-1 passed with JDK v1.8.0_262
+1 💚javadoc0m 42sbranch-1 passed with JDK v1.7.0_272
+0 🆗spotbugs3m 12sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 8sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall1m 54sthe patch passed
+1 💚compile0m 40sthe patch passed with JDK v1.8.0_262
+1 💚javac0m 40sthe patch passed
+1 💚compile0m 42sthe patch passed with JDK v1.7.0_272
+1 💚javac0m 42sthe patch passed
+1 💚checkstyle1m 27sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 47spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 34sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 32sthe patch passed with JDK v1.8.0_262
+1 💚javadoc0m 45sthe patch passed with JDK v1.7.0_272
-1 ❌findbugs3m 9shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 ❌unit166m 3shbase-server in the patch failed.
+1 💚asflicense0m 35sThe patch does not generate ASF License warnings.
208m 47s
ReasonTests
FindBugsmodule:hbase-server
Return value of putIfAbsent is ignored, but controller is reused in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:ignored, but controller is reused in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:[line 79]
Failed junit testshadoop.hbase.master.normalizer.TestSimpleRegionNormalizerOnCluster
SubsystemReport/Notes
DockerClient=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/3/artifact/out/Dockerfile
GITHUB PR#2194
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 39eea9ecdefc 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2194/out/precommit/personality/provided.sh
git revisionbranch-1 / 839ce8e
Default Java1.7.0_272
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/3/artifact/out/new-findbugs-hbase-server.html
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/3/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/3/testReport/
Max. process+thread count3815 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/3/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec11m 38sDocker 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 _
+1 💚mvninstall9m 50sbranch-1 passed
+1 💚compile0m 43sbranch-1 passed with JDK v1.8.0_262
+1 💚compile0m 48sbranch-1 passed with JDK v1.7.0_272
+1 💚checkstyle1m 52sbranch-1 passed
+1 💚shadedjars3m 18sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 48sbranch-1 passed with JDK v1.8.0_262
+1 💚javadoc0m 42sbranch-1 passed with JDK v1.7.0_272
+0 🆗spotbugs3m 13sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 9sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall2m 3sthe patch passed
+1 💚compile0m 42sthe patch passed with JDK v1.8.0_262
+1 💚javac0m 42sthe patch passed
+1 💚compile0m 49sthe patch passed with JDK v1.7.0_272
+1 💚javac0m 49sthe patch passed
+1 💚checkstyle1m 42sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars3m 4spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 56sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 32sthe patch passed with JDK v1.8.0_262
+1 💚javadoc0m 42sthe patch passed with JDK v1.7.0_272
-1 ❌findbugs3m 10shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 ❌unit131m 5shbase-server in the patch failed.
+1 💚asflicense0m 29sThe patch does not generate ASF License warnings.
185m 35s
ReasonTests
FindBugsmodule:hbase-server
Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:[line 79]
Failed junit testshadoop.hbase.client.TestReplicasClient
SubsystemReport/Notes
DockerClient=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/4/artifact/out/Dockerfile
GITHUB PR#2194
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 5b01a2a2e1b4 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2194/out/precommit/personality/provided.sh
git revisionbranch-1 / 839ce8e
Default Java1.7.0_272
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/4/artifact/out/new-findbugs-hbase-server.html
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/4/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/4/testReport/
Max. process+thread count4068 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/4/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 40sDocker 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 _
+1 💚mvninstall9m 47sbranch-1 passed
+1 💚compile0m 40sbranch-1 passed with JDK v1.8.0_262
+1 💚compile0m 44sbranch-1 passed with JDK v1.7.0_272
+1 💚checkstyle1m 40sbranch-1 passed
+1 💚shadedjars3m 0sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 49sbranch-1 passed with JDK v1.8.0_262
+1 💚javadoc0m 41sbranch-1 passed with JDK v1.7.0_272
+0 🆗spotbugs2m 59sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 55sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall1m 54sthe patch passed
+1 💚compile0m 41sthe patch passed with JDK v1.8.0_262
+1 💚javac0m 41sthe patch passed
+1 💚compile0m 43sthe patch passed with JDK v1.7.0_272
+1 💚javac0m 43sthe patch passed
+1 💚checkstyle1m 29sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 47spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 34sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 30sthe patch passed with JDK v1.8.0_262
+1 💚javadoc0m 42sthe patch passed with JDK v1.7.0_272
-1 ❌findbugs2m 56shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 ❌unit112m 28shbase-server in the patch failed.
+1 💚asflicense0m 35sThe patch does not generate ASF License warnings.
159m 39s
ReasonTests
FindBugsmodule:hbase-server
Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:[line 80]
Failed junit testshadoop.hbase.procedure.TestFailedProcCleanup
SubsystemReport/Notes
DockerClient=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/5/artifact/out/Dockerfile
GITHUB PR#2194
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 9c5e1b730967 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2194/out/precommit/personality/provided.sh
git revisionbranch-1 / 839ce8e
Default Java1.7.0_272
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/5/artifact/out/new-findbugs-hbase-server.html
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/5/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/5/testReport/
Max. process+thread count4437 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/5/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

public byte[][] rollWal(long now) throws IOException {
this.lastRollTime = now;
byte[][] regionsToFlush = wal.rollWriter(true);
this.rollRequest.set(false);

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 is not as per other branch patches. Why?

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.

In order to be consistent with the previous

Comment on lines +154 to +160
boolean periodic = false;
for (RollController controller : wals.values()) {
if (controller.needsPeriodicRoll(now)) {
periodic = true;
break;
}
}

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 logic is not same as per branch-2 patches. What is different here? why?

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.

In order to be compatible with jdk1.7

@Override
public void logRollRequested(WALActionsListener.RollRequestReason reason) {
walNeedsRoll.put(wal, Boolean.TRUE);
RollController controller = wals.get(wal);

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.

I see.. because of jdk 1.7 support, we have to use this way and that is what Findbugs complain.

@WenFeiYiWenFeiYi changed the title HBASE-24665 MultiWAL : Avoid rolling of ALL WALs when one of the WAL needs a rollBranch-1 Backport : HBASE-24665 MultiWAL : Avoid rolling of ALL WALs when one of the WAL needs a rollAug 11, 2020
@WenFeiYiWenFeiYi reopened this Aug 11, 2020
@WenFeiYiWenFeiYi changed the title Branch-1 Backport : HBASE-24665 MultiWAL : Avoid rolling of ALL WALs when one of the WAL needs a rollHBASE-24849 Branch-1 Backport : HBASE-24665 MultiWAL : Avoid rolling of ALL WALs when one of the WAL needs a rollAug 11, 2020
@WenFeiYiWenFeiYi reopened this Aug 11, 2020

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

Can we use EnvironmentEdgeManager.currentTime() instead of System.currentTimeMillis()

@Reidddddd

Copy link
Copy Markdown
Contributor

One question, i don't get the solution, why this change can avoid all wals roll?
the original version ConcurrentHashMap<WAL, Boolean> walNeedsRoll is also a per wal data structure?

@Reidddddd

Copy link
Copy Markdown
Contributor

There should be one key point in old version which leads to all WALs rolled, can you point that out.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec8m 2sDocker 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 _
+1 💚mvninstall10m 45sbranch-1 passed
+1 💚compile1m 3sbranch-1 passed with JDK v1.8.0_262
+1 💚compile0m 53sbranch-1 passed with JDK v1.7.0_272
+1 💚checkstyle2m 24sbranch-1 passed
+1 💚shadedjars5m 44sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 16sbranch-1 passed with JDK v1.8.0_262
+1 💚javadoc1m 6sbranch-1 passed with JDK v1.7.0_272
+0 🆗spotbugs4m 39sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 32sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall3m 7sthe patch passed
+1 💚compile1m 8sthe patch passed with JDK v1.8.0_262
+1 💚javac1m 8sthe patch passed
+1 💚compile1m 11sthe patch passed with JDK v1.7.0_272
+1 💚javac1m 11sthe patch passed
+1 💚checkstyle2m 26sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 24spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck6m 46sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 44sthe patch passed with JDK v1.8.0_262
+1 💚javadoc1m 3sthe patch passed with JDK v1.7.0_272
-1 ❌findbugs4m 22shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚unit162m 33shbase-server in the patch passed.
+1 💚asflicense0m 37sThe patch does not generate ASF License warnings.
229m 31s
ReasonTests
FindBugsmodule:hbase-server
Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:[line 81]
SubsystemReport/Notes
DockerClient=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/6/artifact/out/Dockerfile
GITHUB PR#2194
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux f4e8d0bd9fb5 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2194/out/precommit/personality/provided.sh
git revisionbranch-1 / 93b76fd
Default Java1.7.0_272
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/6/artifact/out/new-findbugs-hbase-server.html
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/6/testReport/
Max. process+thread count4580 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/6/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Reidddddd

Copy link
Copy Markdown
Contributor

Please take a look at the FindBugs warning.

@Reidddddd

Copy link
Copy Markdown
Contributor

I read @anoopsjohn's comment. If we can make sure the FindBugs is fine here, please add SuppressWarnings

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec17m 49sDocker 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 _
+1 💚mvninstall11m 34sbranch-1 passed
+1 💚compile1m 8sbranch-1 passed with JDK v1.8.0_262
+1 💚compile1m 15sbranch-1 passed with JDK v1.7.0_272
+1 💚checkstyle2m 32sbranch-1 passed
+1 💚shadedjars4m 41sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 9sbranch-1 passed with JDK v1.8.0_262
+1 💚javadoc1m 3sbranch-1 passed with JDK v1.7.0_272
+0 🆗spotbugs4m 42sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 37sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall3m 2sthe patch passed
+1 💚compile1m 2sthe patch passed with JDK v1.8.0_262
+1 💚javac1m 2sthe patch passed
+1 💚compile1m 7sthe patch passed with JDK v1.7.0_272
+1 💚javac1m 7sthe patch passed
+1 💚checkstyle2m 19sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 30spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck7m 21sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 51sthe patch passed with JDK v1.8.0_262
+1 💚javadoc1m 1sthe patch passed with JDK v1.7.0_272
-1 ❌findbugs5m 8shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 ❌unit164m 30shbase-server in the patch failed.
+1 💚asflicense0m 38sThe patch does not generate ASF License warnings.
242m 28s
ReasonTests
FindBugsmodule:hbase-server
Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:[line 81]
Failed junit testshadoop.hbase.regionserver.TestRegionServerAbort
SubsystemReport/Notes
DockerClient=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/7/artifact/out/Dockerfile
GITHUB PR#2194
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux fe0fbfa9ff66 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2194/out/precommit/personality/provided.sh
git revisionbranch-1 / e4a8dcc
Default Java1.7.0_272
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/7/artifact/out/new-findbugs-hbase-server.html
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/7/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/7/testReport/
Max. process+thread count4294 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/7/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@WenFeiYi

Copy link
Copy Markdown
ContributorAuthor

@Reidddddd In old version, it is not judged which wal triggered before roll, and all wals use the same roll period.

@Reidddddd

Copy link
Copy Markdown
Contributor

Let's wait for QA

@Reidddddd

Reidddddd commented Oct 15, 2020

Copy link
Copy Markdown
Contributor

can use this SuppressWarnings, with value and justification.

edu.umd.cs.findbugs.annotations.SuppressWarnings(
value="",
justification="")

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 45sDocker 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 _
+1 💚mvninstall9m 50sbranch-1 passed
+1 💚compile0m 42sbranch-1 passed with JDK v1.8.0_262
+1 💚compile0m 44sbranch-1 passed with JDK v1.7.0_272
+1 💚checkstyle1m 40sbranch-1 passed
+1 💚shadedjars3m 1sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 49sbranch-1 passed with JDK v1.8.0_262
+1 💚javadoc0m 42sbranch-1 passed with JDK v1.7.0_272
+0 🆗spotbugs3m 1sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 58sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall1m 56sthe patch passed
+1 💚compile0m 42sthe patch passed with JDK v1.8.0_262
+1 💚javac0m 42sthe patch passed
+1 💚compile0m 44sthe patch passed with JDK v1.7.0_272
+1 💚javac0m 44sthe patch passed
+1 💚checkstyle1m 28sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 51spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 36sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 31sthe patch passed with JDK v1.8.0_262
+1 💚javadoc0m 42sthe patch passed with JDK v1.7.0_272
-1 ❌findbugs2m 58shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 ❌unit101m 21shbase-server in the patch failed.
+1 💚asflicense0m 35sThe patch does not generate ASF License warnings.
149m 1s
ReasonTests
FindBugsmodule:hbase-server
Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:may not be atomic in org.apache.hadoop.hbase.regionserver.LogRoller$1.logRollRequested(WALActionsListener$RollRequestReason) At LogRoller.java:[line 84]
Failed junit testshadoop.hbase.procedure.TestZKProcedure
SubsystemReport/Notes
DockerClient=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/9/artifact/out/Dockerfile
GITHUB PR#2194
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux aa425ef495e0 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2194/out/precommit/personality/provided.sh
git revisionbranch-1 / e4a8dcc
Default Java1.7.0_272
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272
findbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/9/artifact/out/new-findbugs-hbase-server.html
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/9/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/9/testReport/
Max. process+thread count3774 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/9/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 6sDocker 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 _
+1 💚mvninstall10m 1sbranch-1 passed
+1 💚compile0m 46sbranch-1 passed with JDK v1.8.0_262
+1 💚compile0m 46sbranch-1 passed with JDK v1.7.0_272
+1 💚checkstyle1m 45sbranch-1 passed
+1 💚shadedjars3m 12sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 52sbranch-1 passed with JDK v1.8.0_262
+1 💚javadoc0m 44sbranch-1 passed with JDK v1.7.0_272
+0 🆗spotbugs3m 11sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 7sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall2m 4sthe patch passed
+1 💚compile0m 46sthe patch passed with JDK v1.8.0_262
+1 💚javac0m 46sthe patch passed
+1 💚compile0m 47sthe patch passed with JDK v1.7.0_272
+1 💚javac0m 47sthe patch passed
+1 💚checkstyle1m 31sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars3m 2spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck5m 5sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 34sthe patch passed with JDK v1.8.0_262
+1 💚javadoc0m 44sthe patch passed with JDK v1.7.0_272
+1 💚findbugs3m 3sthe patch passed
_ Other Tests _
+1 💚unit121m 25shbase-server in the patch passed.
+1 💚asflicense0m 36sThe patch does not generate ASF License warnings.
165m 47s
SubsystemReport/Notes
DockerClient=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/10/artifact/out/Dockerfile
GITHUB PR#2194
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux c94d4d5a346c 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2194/out/precommit/personality/provided.sh
git revisionbranch-1 / fb25a7d
Default Java1.7.0_272
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/10/testReport/
Max. process+thread count3741 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2194/10/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Reidddddd

Copy link
Copy Markdown
Contributor

We are cool now, thx for the contribution, this is nice @WenFeiYi

@Reidddddd
Reidddddd merged commit e066951 into apache:branch-1Oct 16, 2020
Reidddddd pushed a commit to Reidddddd/hbase that referenced this pull request Oct 17, 2020
…of ALL WALs when one of the WAL needs a roll (apache#2194)
Signed-off-by: Reid Chan <reidchan@apache.org>
Conflicts:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/LogRoller.java
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

@WenFeiYi@anoopsjohn@Apache-HBase@Reidddddd