Skip to content

HBASE-23205 Correctly update the position of WALs currently being replicated (2) - #944

Merged
wchevreuil merged 1 commit into
apache:branch-1from
JeongDaeKim:HBASE-23205-2
Jan 2, 2020
Merged

HBASE-23205 Correctly update the position of WALs currently being replicated (2)#944
wchevreuil merged 1 commit into
apache:branch-1from
JeongDaeKim:HBASE-23205-2

Conversation

@JeongDaeKim

Copy link
Copy Markdown

https://issues.apache.org/jira/browse/HBASE-23205

#749 (comment)

No luck with the pre-commit. I tried a rebase, but still the job fails while starting. Ain't sure if it's something specific to the PR commits. @JeongDaeKim , would u mind squash these commits on one of you local branches, then open a new PR for branch-1 with this? Please ping me once you open the new PR.

@JeongDaeKim

Copy link
Copy Markdown
Author

@wchevreuil I squashed my commits and made a new PR

@JeongDaeKim
JeongDaeKimforce-pushed the HBASE-23205-2 branch 2 times, most recently from 032b63f to 35f0a8dCompareDecember 17, 2019 02:56
@JeongDaeKim

Copy link
Copy Markdown
Author

@wchevreuil It seems pre-commit hook was not triggered again. I have no idea what conditions should be required to trigger it.

@wchevreuil

Copy link
Copy Markdown
Contributor

Thanks @JeongDaeKim , it's actually crashing at the beginning due to same error from previous PR: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/3/console. Let me try figure why this happens.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 33sDocker 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 _
+1 💚mvninstall8m 20sbranch-1 passed
+1 💚compile0m 41sbranch-1 passed with JDK v1.8.0_232
+1 💚compile0m 46sbranch-1 passed with JDK v1.7.0_242
+1 💚checkstyle1m 48sbranch-1 passed
+1 💚shadedjars3m 9sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 36sbranch-1 passed with JDK v1.8.0_232
+1 💚javadoc0m 43sbranch-1 passed with JDK v1.7.0_242
+0 🆗spotbugs3m 1sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 58sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall2m 4sthe patch passed
+1 💚compile0m 41sthe patch passed with JDK v1.8.0_232
+1 💚javac0m 41sthe patch passed
+1 💚compile0m 46sthe patch passed with JDK v1.7.0_242
+1 💚javac0m 46sthe patch passed
+1 💚checkstyle1m 44shbase-server: The patch generated 0 new + 24 unchanged - 12 fixed = 24 total (was 36)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars3m 2spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck5m 9sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 32sthe patch passed with JDK v1.8.0_232
+1 💚javadoc0m 42sthe patch passed with JDK v1.7.0_242
+1 💚findbugs3m 4sthe patch passed
_ Other Tests _
-1 ❌unit45m 42shbase-server in the patch failed.
+1 💚asflicense0m 20sThe patch does not generate ASF License warnings.
87m 1s
ReasonTests
Failed junit testshadoop.hbase.client.TestClientClusterStatus
hadoop.hbase.procedure.TestProcedureManager
hadoop.hbase.client.TestRollbackFromClient
hadoop.hbase.regionserver.TestHRegionFileSystem
hadoop.hbase.master.balancer.TestRegionLocationFinder
SubsystemReport/Notes
DockerClient=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/4/artifact/out/Dockerfile
GITHUB PR#944
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 03329d85f4b5 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-944/out/precommit/personality/provided.sh
git revisionbranch-1 / 1451063
Default Java1.7.0_242
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_232 /usr/lib/jvm/zulu-7-amd64:1.7.0_242
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/4/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/4/testReport/
Max. process+thread count605 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/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.

@JeongDaeKim

Copy link
Copy Markdown
Author

Rebased and force-pushed twice to trigger pre-commit hook, and somehow it worked finally.

I checked failed tests
all failures are same as below and it seems it come from HBASE-23590#950 (all tests passed after i removed the commit) @virajjasani ?

2020-01-02 19:29:11,915 ERROR [RpcServer.default.FPBQ.Fifo.handler=4,queue=0,port=52812] master.MasterRpcServices(403): Region server 10.70.8.163,52826,1577960947462 reported a fatal error:
ABORTING region server 10.70.8.163,52826,1577960947462: Unhandled: null
Cause:
java.lang.NullPointerException
at org.apache.hadoop.hbase.regionserver.HStore.getMaxCompactedStoreFileRefCount(HStore.java:2881)
at org.apache.hadoop.hbase.regionserver.HRegionServer.createRegionLoad(HRegionServer.java:1601)
at org.apache.hadoop.hbase.regionserver.HRegionServer.buildServerLoad(HRegionServer.java:1312)
at org.apache.hadoop.hbase.regionserver.HRegionServer.tryRegionServerReport(HRegionServer.java:1249)
at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:1052)
at org.apache.hadoop.hbase.MiniHBaseCluster$MiniHBaseClusterRegionServer.runRegionServer(MiniHBaseCluster.java:159)
at org.apache.hadoop.hbase.MiniHBaseCluster$MiniHBaseClusterRegionServer.access$000(MiniHBaseCluster.java:112)
at org.apache.hadoop.hbase.MiniHBaseCluster$MiniHBaseClusterRegionServer$1.run(MiniHBaseCluster.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:360)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1824)
at org.apache.hadoop.hbase.security.User$SecureHadoopUser.runAs(User.java:334)
at org.apache.hadoop.hbase.MiniHBaseCluster$MiniHBaseClusterRegionServer.run(MiniHBaseCluster.java:141)
at java.lang.Thread.run(Thread.java:748)

another build is running now because of my two pushes (https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/5/),and it will produce the same result as the previous build 4.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 33sDocker 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 _
+1 💚mvninstall8m 31sbranch-1 passed
+1 💚compile0m 40sbranch-1 passed with JDK v1.8.0_232
+1 💚compile0m 46sbranch-1 passed with JDK v1.7.0_242
+1 💚checkstyle1m 50sbranch-1 passed
+1 💚shadedjars3m 11sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 36sbranch-1 passed with JDK v1.8.0_232
+1 💚javadoc0m 41sbranch-1 passed with JDK v1.7.0_242
+0 🆗spotbugs3m 0sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 58sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall2m 4sthe patch passed
+1 💚compile0m 41sthe patch passed with JDK v1.8.0_232
+1 💚javac0m 41sthe patch passed
+1 💚compile0m 46sthe patch passed with JDK v1.7.0_242
+1 💚javac0m 46sthe patch passed
+1 💚checkstyle1m 44shbase-server: The patch generated 0 new + 24 unchanged - 12 fixed = 24 total (was 36)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars3m 3spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck5m 10sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 31sthe patch passed with JDK v1.8.0_232
+1 💚javadoc0m 42sthe patch passed with JDK v1.7.0_242
+1 💚findbugs3m 5sthe patch passed
_ Other Tests _
-1 ❌unit45m 38shbase-server in the patch failed.
+1 💚asflicense0m 20sThe patch does not generate ASF License warnings.
87m 11s
ReasonTests
Failed junit testshadoop.hbase.client.TestClientClusterStatus
hadoop.hbase.procedure.TestProcedureManager
hadoop.hbase.client.TestRollbackFromClient
hadoop.hbase.regionserver.TestHRegionFileSystem
hadoop.hbase.master.balancer.TestRegionLocationFinder
SubsystemReport/Notes
DockerClient=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/5/artifact/out/Dockerfile
GITHUB PR#944
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux df45beee7258 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-944/out/precommit/personality/provided.sh
git revisionbranch-1 / 1451063
Default Java1.7.0_242
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_232 /usr/lib/jvm/zulu-7-amd64:1.7.0_242
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/5/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/5/testReport/
Max. process+thread count605 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-944/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.

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

Tests failures seems unrelated. +1.

@wchevreuil
wchevreuil merged commit e0c419d into apache:branch-1Jan 2, 2020
@virajjasani

virajjasani commented Jan 2, 2020

Copy link
Copy Markdown
Contributor

Thanks @JeongDaeKim for pointing out test failures, these happen on branch-1 since we have null initialization for list of store files as opposed to empty lists in master and branch-2.
Will take care of this in a while, thank you!

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

@JeongDaeKim@wchevreuil@Apache-HBase@virajjasani