Skip to content

HBASE-23596 HBCKServerCrashProcedure can double assign - #952

Closed
saintstack wants to merge 1 commit into
apache:branch-2.2from
saintstack:HBASE-23596
Closed

HBASE-23596 HBCKServerCrashProcedure can double assign#952
saintstack wants to merge 1 commit into
apache:branch-2.2from
saintstack:HBASE-23596

Conversation

@saintstack

Copy link
Copy Markdown
Contributor

First attempt. Will be back after testing.

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

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec3m 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.
-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-2.2 Compile Tests _
+1 💚mvninstall5m 14sbranch-2.2 passed
+1 💚compile0m 56sbranch-2.2 passed
+1 💚checkstyle1m 20sbranch-2.2 passed
+1 💚shadedjars4m 2sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 36sbranch-2.2 passed
+0 🆗spotbugs3m 15sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 13sbranch-2.2 passed
_ Patch Compile Tests _
+1 💚mvninstall4m 51sthe patch passed
+1 💚compile0m 54sthe patch passed
+1 💚javac0m 54sthe patch passed
+1 💚checkstyle1m 17sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 4spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck15m 19sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 34sthe patch passed
+1 💚findbugs3m 28sthe patch passed
_ Other Tests _
-1 ❌unit323m 12shbase-server in the patch failed.
+1 💚asflicense0m 39sThe patch does not generate ASF License warnings.
379m 43s
ReasonTests
Failed junit testshadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleWAL
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.client.TestCloneSnapshotFromClientNormal
hadoop.hbase.client.TestAdmin1
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleAsyncWAL
hadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.util.TestFromClientSide3WoUnsafe
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/1/artifact/out/Dockerfile
GITHUB PR#952
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 72f271127a94 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-952/out/precommit/personality/provided.sh
git revisionbranch-2.2 / a841bf1
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/1/testReport/
Max. process+thread count4799 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/1/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
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 16sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 1sThe 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-2.2 Compile Tests _
+1 💚mvninstall5m 15sbranch-2.2 passed
+1 💚compile0m 54sbranch-2.2 passed
+1 💚checkstyle1m 18sbranch-2.2 passed
+1 💚shadedjars4m 5sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 38sbranch-2.2 passed
+0 🆗spotbugs3m 17sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 14sbranch-2.2 passed
_ Patch Compile Tests _
+1 💚mvninstall4m 43sthe patch passed
+1 💚compile0m 54sthe patch passed
+1 💚javac0m 54sthe patch passed
+1 💚checkstyle1m 16sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 5spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck14m 57sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 36sthe patch passed
+1 💚findbugs3m 16sthe patch passed
_ Other Tests _
-1 ❌unit347m 47shbase-server in the patch failed.
+1 💚asflicense0m 37sThe patch does not generate ASF License warnings.
400m 49s
ReasonTests
Failed junit testshadoop.hbase.client.TestRestoreSnapshotFromClientClone
hadoop.hbase.regionserver.TestHRegionWithInMemoryFlush
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.client.replication.TestReplicationAdminWithClusters
hadoop.hbase.client.TestCloneSnapshotFromClientNormal
hadoop.hbase.client.TestAdmin1
hadoop.hbase.client.TestAsyncTableAdminApi
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleAsyncWAL
hadoop.hbase.client.TestAsyncRegionAdminApi
hadoop.hbase.tool.TestLoadIncrementalHFiles
hadoop.hbase.client.TestAdmin2
hadoop.hbase.replication.TestReplicationKillSlaveRSWithSeparateOldWALs
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
hadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.client.TestCloneSnapshotFromClientCloneLinksAfterDelete
hadoop.hbase.client.TestAsyncTableAdminApi3
hadoop.hbase.util.TestFromClientSide3WoUnsafe
hadoop.hbase.tool.TestSecureLoadIncrementalHFiles
hadoop.hbase.replication.TestReplicationSmallTests
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/2/artifact/out/Dockerfile
GITHUB PR#952
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux b37e8b569cc7 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-952/out/precommit/personality/provided.sh
git revisionbranch-2.2 / a841bf1
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/2/testReport/
Max. process+thread count4743 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/2/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@binlijinbinlijin 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

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 14sDocker 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-2.2 Compile Tests _
+1 💚mvninstall5m 24sbranch-2.2 passed
+1 💚compile0m 53sbranch-2.2 passed
+1 💚checkstyle1m 20sbranch-2.2 passed
+1 💚shadedjars4m 8sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 36sbranch-2.2 passed
+0 🆗spotbugs3m 22sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 21sbranch-2.2 passed
_ Patch Compile Tests _
+1 💚mvninstall4m 42sthe patch passed
+1 💚compile0m 56sthe patch passed
+1 💚javac0m 56sthe patch passed
+1 💚checkstyle1m 17sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 5spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck14m 54sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 35sthe patch passed
+1 💚findbugs3m 22sthe patch passed
_ Other Tests _
-1 ❌unit324m 49shbase-server in the patch failed.
+1 💚asflicense0m 37sThe patch does not generate ASF License warnings.
378m 30s
ReasonTests
Failed junit testshadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.client.TestCloneSnapshotFromClientNormal
hadoop.hbase.client.TestAdmin1
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
hadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.util.TestFromClientSide3WoUnsafe
hadoop.hbase.replication.TestReplicationSmallTests
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/3/artifact/out/Dockerfile
GITHUB PR#952
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux dd9c85f5645f 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-952/out/precommit/personality/provided.sh
git revisionbranch-2.2 / a841bf1
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/3/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/3/testReport/
Max. process+thread count4915 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/3/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@saintstack

Copy link
Copy Markdown
ContributorAuthor

Thanks @binlijin and @Apache9 for +1s.

After testing, made a more conservative patch. It will use master context -- the default for SCP -- and the HBCK aspect will only cut in where we read hbase:meta, when master context comes up empty. The latter case will be when operators are trying to fixup corrupted Master state where 'Unknown Servers' have crept into the mix.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 13sDocker 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-2.2 Compile Tests _
+1 💚mvninstall5m 14sbranch-2.2 passed
+1 💚compile0m 55sbranch-2.2 passed
+1 💚checkstyle1m 22sbranch-2.2 passed
+1 💚shadedjars4m 4sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 36sbranch-2.2 passed
+0 🆗spotbugs3m 12sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 10sbranch-2.2 passed
_ Patch Compile Tests _
+1 💚mvninstall4m 45sthe patch passed
+1 💚compile0m 54sthe patch passed
+1 💚javac0m 54sthe patch passed
+1 💚checkstyle1m 18sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 8spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck15m 6sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 33sthe patch passed
+1 💚findbugs3m 17sthe patch passed
_ Other Tests _
-1 ❌unit329m 0shbase-server in the patch failed.
+1 💚asflicense0m 38sThe patch does not generate ASF License warnings.
382m 30s
ReasonTests
Failed junit testshadoop.hbase.client.TestFromClientSide3
hadoop.hbase.regionserver.TestHRegionWithInMemoryFlush
hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleWAL
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.client.replication.TestReplicationAdminWithClusters
hadoop.hbase.client.TestCloneSnapshotFromClientNormal
hadoop.hbase.client.TestAdmin1
hadoop.hbase.master.procedure.TestSCPWithReplicasWithoutZKCoordinated
hadoop.hbase.client.TestAsyncTableAdminApi
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleAsyncWAL
hadoop.hbase.regionserver.TestSplitTransactionOnCluster
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
hadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.replication.TestReplicationSmallTests
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/4/artifact/out/Dockerfile
GITHUB PR#952
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 565c7da534c3 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-952/out/precommit/personality/provided.sh
git revisionbranch-2.2 / a841bf1
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/4/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/4/testReport/
Max. process+thread count5226 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/4/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
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.
-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-2.2 Compile Tests _
+1 💚mvninstall5m 24sbranch-2.2 passed
+1 💚compile1m 0sbranch-2.2 passed
+1 💚checkstyle1m 24sbranch-2.2 passed
+1 💚shadedjars4m 13sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 37sbranch-2.2 passed
+0 🆗spotbugs3m 32sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 30sbranch-2.2 passed
_ Patch Compile Tests _
+1 💚mvninstall5m 8sthe patch passed
+1 💚compile0m 58sthe patch passed
+1 💚javac0m 58sthe patch passed
+1 💚checkstyle1m 22sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 21spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck16m 16sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 40sthe patch passed
+1 💚findbugs4m 3sthe patch passed
_ Other Tests _
-1 ❌unit353m 51shbase-server in the patch failed.
+1 💚asflicense0m 39sThe patch does not generate ASF License warnings.
412m 13s
ReasonTests
Failed junit testshadoop.hbase.client.TestFromClientSide3
hadoop.hbase.master.procedure.TestSCPWithReplicas
hadoop.hbase.regionserver.TestHRegionWithInMemoryFlush
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.client.replication.TestReplicationAdminWithClusters
hadoop.hbase.client.TestCloneSnapshotFromClientNormal
hadoop.hbase.master.procedure.TestProcedurePriority
hadoop.hbase.client.TestAdmin1
hadoop.hbase.master.assignment.TestMergeTableRegionsProcedure
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleAsyncWAL
hadoop.hbase.regionserver.TestSplitTransactionOnCluster
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
hadoop.hbase.util.TestFromClientSide3WoUnsafe
hadoop.hbase.replication.TestReplicationSmallTests
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/5/artifact/out/Dockerfile
GITHUB PR#952
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 6bbed9cd8995 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-952/out/precommit/personality/provided.sh
git revisionbranch-2.2 / 5ec99b4
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/5/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/5/testReport/
Max. process+thread count4880 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/5/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
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 16sDocker 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-2.2 Compile Tests _
+1 💚mvninstall5m 11sbranch-2.2 passed
+1 💚compile0m 54sbranch-2.2 passed
+1 💚checkstyle1m 19sbranch-2.2 passed
+1 💚shadedjars4m 7sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 36sbranch-2.2 passed
+0 🆗spotbugs2m 47sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 44sbranch-2.2 passed
_ Patch Compile Tests _
+1 💚mvninstall4m 45sthe patch passed
+1 💚compile0m 55sthe patch passed
+1 💚javac0m 55sthe patch passed
+1 💚checkstyle1m 17sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 1spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck15m 0sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 36sthe patch passed
+1 💚findbugs3m 17sthe patch passed
_ Other Tests _
-1 ❌unit321m 29shbase-server in the patch failed.
+1 💚asflicense0m 35sThe patch does not generate ASF License warnings.
374m 20s
ReasonTests
Failed junit testshadoop.hbase.client.TestFromClientSide3
hadoop.hbase.master.procedure.TestSCPWithReplicas
hadoop.hbase.regionserver.TestHRegionWithInMemoryFlush
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.client.replication.TestReplicationAdminWithClusters
hadoop.hbase.client.TestAdmin1
hadoop.hbase.master.procedure.TestSCPWithReplicasWithoutZKCoordinated
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
hadoop.hbase.util.TestFromClientSide3WoUnsafe
hadoop.hbase.replication.TestReplicationSmallTests
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/6/artifact/out/Dockerfile
GITHUB PR#952
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 781247dcd53e 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-952/out/precommit/personality/provided.sh
git revisionbranch-2.2 / 0a989ea
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/6/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/6/testReport/
Max. process+thread count5297 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/6/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@saintstack

Copy link
Copy Markdown
ContributorAuthor

Something wonky here. This HBCKSCP is only called via hbck2 (or by its unit test) so no other tests should be failing (and they pass locally). I'm in no hurry to commit this. Still testing so will try figure what is up here.

@saintstack

Copy link
Copy Markdown
ContributorAuthor

Update is yet more conservative than previous only reassigning 'Unknown Servers' if shown as OPEN or OPENING in the hbase:meta table (previous we'd reassign any 'Unknown Server' referenced Region).


@Override
public boolean visit(Result result) throws IOException {
RegionLocations rls = MetaTableAccessor.getRegionLocations(result);

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.

rls would never be null in our case right?

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.

Shouldn't be but let me handle it; when this code is running the hbase:meta could be messed up.

}
if (!hrl.getServerName().equals(this.unknownServerName)) {
continue;
}

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.

Above 3 conditions can be combined for continue?

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 is it is an easier read IMO!

@saintstack

Copy link
Copy Markdown
ContributorAuthor

Thanks for review @virajjasani ... let me update to address your first comment.

Change its behavior so it will only look in hbase:meta
if the call to the super class turns up zero references.
Only then will it search hbase:meta for references to
'Unknown Servers'. Normal operation where we read Master
context is usual and sufficient. The scan of hbase:meta
is only for case where Master state has been corrupted
and we need to clear out 'Unknown Servers'.
@saintstack

Copy link
Copy Markdown
ContributorAuthor

Address @virajjasani review comment

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 15sDocker 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-2.2 Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall5m 34sbranch-2.2 passed
+1 💚compile1m 22sbranch-2.2 passed
+1 💚checkstyle2m 13sbranch-2.2 passed
+1 💚shadedjars4m 30sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 58sbranch-2.2 passed
+0 🆗spotbugs3m 26sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 39sbranch-2.2 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall5m 14sthe patch passed
+1 💚compile1m 22sthe patch passed
+1 💚javac1m 22sthe patch passed
-1 ❌checkstyle1m 32shbase-server: The patch generated 1 new + 224 unchanged - 0 fixed = 225 total (was 224)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 24spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck16m 37sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 58sthe patch passed
+1 💚findbugs5m 1sthe patch passed
_ Other Tests _
+1 💚unit3m 30shbase-client in the patch passed.
+1 💚unit202m 8shbase-server in the patch passed.
+1 💚asflicense0m 48sThe patch does not generate ASF License warnings.
270m 10s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/7/artifact/out/Dockerfile
GITHUB PR#952
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux e36c9b4c6e9d 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-952/out/precommit/personality/provided.sh
git revisionbranch-2.2 / 3887752
Default Java1.8.0_181
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/7/artifact/out/diff-checkstyle-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/7/testReport/
Max. process+thread count4813 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/7/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@saintstack

Copy link
Copy Markdown
ContributorAuthor

I'd like to push this on branch-2.3 because what is there currently could cause damage.

Since this code only cuts in at an extreme when invoked by an operator via hbck2 and passed a server that has NO references in master memory context, and since I have two +1s for an earlier invocation that was more radical than this, I'm going to push.....

@saintstack

Copy link
Copy Markdown
ContributorAuthor

Merged by hand to branch-2.2+

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 15sDocker 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-2.2 Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for branch
+1 💚mvninstall5m 5sbranch-2.2 passed
+1 💚compile1m 20sbranch-2.2 passed
+1 💚checkstyle2m 0sbranch-2.2 passed
+1 💚shadedjars4m 4sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 1sbranch-2.2 passed
+0 🆗spotbugs3m 15sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 25sbranch-2.2 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall4m 48sthe patch passed
+1 💚compile1m 20sthe patch passed
+1 💚javac1m 20sthe patch passed
-1 ❌checkstyle1m 23shbase-server: The patch generated 2 new + 224 unchanged - 0 fixed = 226 total (was 224)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 7spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck15m 10sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc1m 0sthe patch passed
+1 💚findbugs4m 36sthe patch passed
_ Other Tests _
+1 💚unit3m 43shbase-client in the patch passed.
-1 ❌unit262m 23shbase-server in the patch failed.
+1 💚asflicense1m 4sThe patch does not generate ASF License warnings.
326m 24s
ReasonTests
Failed junit testshadoop.hbase.regionserver.TestHRegionWithInMemoryFlush
hadoop.hbase.client.TestFromClientSideWithCoprocessor
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/8/artifact/out/Dockerfile
GITHUB PR#952
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux b9f36b1a6c37 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-952/out/precommit/personality/provided.sh
git revisionbranch-2.2 / 3887752
Default Java1.8.0_181
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/8/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/8/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/8/testReport/
Max. process+thread count4437 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-952/8/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

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.

5 participants

@saintstack@Apache-HBase@binlijin@Apache9@virajjasani