Skip to content

HBASE-26482 HMaster may clean wals that is replicating in rare cases - #3887

Merged
Apache9 merged 1 commit into
apache:branch-1from
zhengzhuobinzzb:branch-1-HBASE-26482
Dec 5, 2021
Merged

HBASE-26482 HMaster may clean wals that is replicating in rare cases#3887
Apache9 merged 1 commit into
apache:branch-1from
zhengzhuobinzzb:branch-1-HBASE-26482

Conversation

@zhengzhuobinzzb

Copy link
Copy Markdown
Contributor

No description provided.

@zhengzhuobinzzb

Copy link
Copy Markdown
ContributorAuthor

There is a problem. We can't update cversion of root queuesZnode atomically when hbase.zookeeper.useMulti is set false.

Now, I only fixed this problem when hbase.zookeeper.useMulti true. (default is true)

Another way to totally solve this problem: Check cversion of /hbase/replication/rs and all znodes of /hbase/replication/rs/${servername} when master clean.

But this way will cause the code of branch-1 different with master.

I don't know which is better.

@Apache9

Copy link
Copy Markdown
Contributor

I think it is OK to have different code implementation for branch-1.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec8m 11sDocker 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 2 new or modified test files.
_ branch-1 Compile Tests _
+0 🆗mvndep2m 29sMaven dependency ordering for branch
+1 💚mvninstall8m 40sbranch-1 passed
+1 💚compile1m 10sbranch-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 24sbranch-1 passed
+1 💚shadedjars3m 34sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 1sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 11sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 59sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 45sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall2m 23sthe patch passed
+1 💚compile1m 5sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac1m 5sthe patch passed
+1 💚compile1m 18sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 18sthe patch passed
+1 💚checkstyle2m 16sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars3m 25spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck5m 39sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 53sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 10sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚findbugs4m 51sthe patch passed
_ Other Tests _
+1 💚unit2m 41shbase-client in the patch passed.
-1 ❌unit156m 33shbase-server in the patch failed.
+1 💚asflicense0m 49sThe patch does not generate ASF License warnings.
222m 30s
ReasonTests
Failed junit testshadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
hadoop.hbase.replication.regionserver.TestReplicationSourceManagerManager
hadoop.hbase.replication.TestReplicationKillSlaveRS
hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3887/1/artifact/out/Dockerfile
GITHUB PR#3887
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux b86505ef4a38 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-agent/workspace/Base-PreCommit-GitHub-PR_PR-3887/out/precommit/personality/provided.sh
git revisionbranch-1 / 13787ae
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
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3887/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3887/1/testReport/
Max. process+thread count5191 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3887/1/console
versionsgit=2.17.1 maven=3.6.0 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 🆗reexec1m 11sDocker 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 2 new or modified test files.
_ branch-1 Compile Tests _
+0 🆗mvndep2m 29sMaven dependency ordering for branch
+1 💚mvninstall8m 34sbranch-1 passed
+1 💚compile1m 7sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚compile1m 16sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚checkstyle2m 25sbranch-1 passed
+1 💚shadedjars3m 35sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 1sbranch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 9sbranch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+0 🆗spotbugs2m 58sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 46sbranch-1 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall2m 20sthe patch passed
+1 💚compile1m 6sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javac1m 6sthe patch passed
+1 💚compile1m 17sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚javac1m 17sthe patch passed
-1 ❌checkstyle1m 43shbase-server: The patch generated 1 new + 13 unchanged - 1 fixed = 14 total (was 14)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars3m 23spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck5m 30sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 53sthe patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19
+1 💚javadoc1m 9sthe patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10
+1 💚findbugs4m 51sthe patch passed
_ Other Tests _
+1 💚unit2m 46shbase-client in the patch passed.
-1 ❌unit157m 14shbase-server in the patch failed.
+1 💚asflicense0m 49sThe patch does not generate ASF License warnings.
215m 37s
ReasonTests
Failed junit testshadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3887/2/artifact/out/Dockerfile
GITHUB PR#3887
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 8436e4fbca98 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-agent/workspace/Base-PreCommit-GitHub-PR_PR-3887/out/precommit/personality/provided.sh
git revisionbranch-1 / 13787ae
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-3887/2/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3887/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3887/2/testReport/
Max. process+thread count5011 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3887/2/console
versionsgit=2.17.1 maven=3.6.0 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@zhengzhuobinzzb

Copy link
Copy Markdown
ContributorAuthor

HI @Apache9, Help review in your free time, thanks~
(Test Passed in local env.)

@zhengzhuobinzzb

Copy link
Copy Markdown
ContributorAuthor

@Apache9 General ping for review~~

@Apache9

Copy link
Copy Markdown
Contributor

@Reidddddd PTAL in your convenience~

@Apache9
Apache9 merged commit 8d96fc3 into apache:branch-1Dec 5, 2021
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.

3 participants

@zhengzhuobinzzb@Apache9@Apache-HBase