Skip to content

HBASE-23604: Clarify AsyncRegistry usage in the code. - #957

Merged
ndimiduk merged 2 commits into
apache:HBASE-18095/client-locate-meta-no-zookeeperfrom
bharathv:HBASE-23604
Jan 3, 2020
Merged

HBASE-23604: Clarify AsyncRegistry usage in the code.#957
ndimiduk merged 2 commits into
apache:HBASE-18095/client-locate-meta-no-zookeeperfrom
bharathv:HBASE-23604

Conversation

@bharathv

Copy link
Copy Markdown
Contributor

This patch is a simple refactor that renames a bunch of classes
to add more context to the readers. The code is littered with
the usage of word "registry" but it is not clear what the registry
is all about. This patch renames a bunch of classes to make it
more self explanatory.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 24sDocker 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 23 new or modified test files.
_ HBASE-18095/client-locate-meta-no-zookeeper Compile Tests _
+0 🆗mvndep0m 34sMaven dependency ordering for branch
+1 💚mvninstall5m 43sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚compile1m 25sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚checkstyle2m 3sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚shadedjars5m 4sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 5sHBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗spotbugs4m 52sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs6m 1sHBASE-18095/client-locate-meta-no-zookeeper passed
_ Patch Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for patch
+1 💚mvninstall5m 31sthe patch passed
+1 💚compile1m 24sthe patch passed
+1 💚javac1m 24sthe patch passed
-1 ❌checkstyle0m 34shbase-client: The patch generated 35 new + 15 unchanged - 1 fixed = 50 total (was 16)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars5m 6spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck17m 40sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 59sthe patch passed
+1 💚findbugs6m 13sthe patch passed
_ Other Tests _
+1 💚unit1m 51shbase-client in the patch passed.
-1 ❌unit313m 25shbase-server in the patch failed.
+1 💚asflicense0m 55sThe patch does not generate ASF License warnings.
386m 0s
ReasonTests
Failed junit testshadoop.hbase.master.procedure.TestSCPWithReplicas
hadoop.hbase.master.TestSplitWALManager
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.master.TestAssignmentManagerMetrics
hadoop.hbase.client.TestFromClientSide3
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/1/artifact/out/Dockerfile
GITHUB PR#957
JIRA IssueHBASE-23604
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux c2ad08fb052e 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-957/out/precommit/personality/provided.sh
git revisionHBASE-18095/client-locate-meta-no-zookeeper / e41b46c
Default Java1.8.0_181
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/1/artifact/out/diff-checkstyle-hbase-client.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/1/testReport/
Max. process+thread count4849 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/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.

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

Ok, if you think too that 'registry' is too generic. I don't want to make work for you.

Looking at this patch, you go from Registry to MetaRegistry.

'meta' is a loaded term in hbase and in particular, usually refers to the meta table.

This registry has clusterid, meta region location, and what is active master (currently) which are 'meta' attributes of the cluster... true, but it strikes me that MetaRegistry is as generic as Registry and in fact because of the overload on meta, and that the Registry currently has three disparate attributes that include meta locations, I think Registry better than MetaRegistry (yikes).

There are some good changes in this patch -- the getActiveMasters and making meta locations plural. Get them in? And meantime we all 'learn' what Registry is about...

Unless there a better name for it? (ClusterRegistry, ClusterAttributes...)

* Get the current locations of meta region(s).
*/
CompletableFuture<RegionLocations> getMetaRegionLocation();
CompletableFuture<RegionLocations> getMetaRegionLocations();

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 good.

@bharathv

Copy link
Copy Markdown
ContributorAuthor

'meta' is a loaded term in hbase and in particular, usually refers to the meta table.

That is a fair point. There are definitely other connotations for the word "meta" in this project and readers might get confused even more.

There are some good changes in this patch -- the getActiveMasters and making meta locations plural. Get them in? And meantime we all 'learn' what Registry is about...

Ya. I can't think of a good name yet, without the use of word meta. (ConnectionRegistry?). I'm undoing the class renames and (force) pushing the change again. May be we can revisit later.

@bharathv
bharathvforce-pushed the HBASE-23604 branch 2 times, most recently from f94d2bc to 1d871aeCompareDecember 21, 2019 18:17
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker 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 6 new or modified test files.
_ HBASE-18095/client-locate-meta-no-zookeeper Compile Tests _
+0 🆗mvndep0m 36sMaven dependency ordering for branch
+1 💚mvninstall5m 19sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚compile1m 21sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚checkstyle1m 51sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚shadedjars4m 42sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 59sHBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗spotbugs4m 28sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs5m 31sHBASE-18095/client-locate-meta-no-zookeeper passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall5m 0sthe patch passed
+1 💚compile1m 22sthe patch passed
+1 💚javac1m 22sthe patch passed
+1 💚checkstyle0m 33shbase-client: The patch generated 0 new + 14 unchanged - 1 fixed = 14 total (was 15)
+1 💚checkstyle1m 16sThe patch passed checkstyle in hbase-server
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 38spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck15m 56sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc1m 0sthe patch passed
+1 💚findbugs5m 43sthe patch passed
_ Other Tests _
+1 💚unit1m 52shbase-client in the patch passed.
-1 ❌unit180m 32shbase-server in the patch failed.
+1 💚asflicense1m 6sThe patch does not generate ASF License warnings.
246m 51s
ReasonTests
Failed junit testshadoop.hbase.master.assignment.TestOpenRegionProcedureHang
hadoop.hbase.regionserver.TestSplitTransactionOnCluster
hadoop.hbase.quotas.TestQuotaAdmin
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/2/artifact/out/Dockerfile
GITHUB PR#957
JIRA IssueHBASE-23604
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux b4ef8b6d0fd4 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-957/out/precommit/personality/provided.sh
git revisionHBASE-18095/client-locate-meta-no-zookeeper / e41b46c
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/2/testReport/
Max. process+thread count4627 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/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.

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

LGTM.

Where should I merge?

I like ConnectionRegistry.

@saintstack

Copy link
Copy Markdown
Contributor

i.e. you need the Registry to make a useful Connection to the cluster.

@bharathv

Copy link
Copy Markdown
ContributorAuthor

Thanks for the review.

i.e. you need the Registry to make a useful Connection to the cluster.

Yea, that seems meaningful and simple enough to me as well. Will do a follow up.

Where should I merge?

Can you please merge this into the feature branch? 'HBASE-18095/client-locate-meta-no-zookeeper'. While you are here, can you please rebase the feature branch with latest master? I checked that the rebase is clean but I don't have the push rights.

@bharathv

Copy link
Copy Markdown
ContributorAuthor

@saintstack I also pushed a commit that does the rename of AsyncRegistry -> ConnectionRegistry. Let me know what you think. I thought it'd be good to push both the commits together.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec3m 55sDocker 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 23 new or modified test files.
_ HBASE-18095/client-locate-meta-no-zookeeper Compile Tests _
+0 🆗mvndep0m 33sMaven dependency ordering for branch
+1 💚mvninstall5m 57sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚compile1m 23sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚checkstyle2m 3sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚shadedjars5m 5sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 4sHBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗spotbugs4m 49sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs5m 57sHBASE-18095/client-locate-meta-no-zookeeper passed
-0 ⚠️patch5m 4sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall5m 33sthe patch passed
+1 💚compile1m 24sthe patch passed
+1 💚javac1m 24sthe patch passed
+1 💚checkstyle0m 32shbase-client: The patch generated 0 new + 14 unchanged - 2 fixed = 14 total (was 16)
-1 ❌checkstyle1m 27shbase-server: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars5m 3spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck17m 48sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 59sthe patch passed
+1 💚findbugs6m 15sthe patch passed
_ Other Tests _
+1 💚unit1m 51shbase-client in the patch passed.
-1 ❌unit321m 1shbase-server in the patch failed.
+1 💚asflicense0m 52sThe patch does not generate ASF License warnings.
396m 19s
ReasonTests
Failed junit testshadoop.hbase.master.procedure.TestSCPWithReplicasWithoutZKCoordinated
hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
hadoop.hbase.client.TestAdmin2
hadoop.hbase.master.TestSplitWALManager
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.regionserver.TestSplitTransactionOnCluster
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/3/artifact/out/Dockerfile
GITHUB PR#957
JIRA IssueHBASE-23604
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 073bd2f97bda 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-957/out/precommit/personality/provided.sh
git revisionHBASE-18095/client-locate-meta-no-zookeeper / e41b46c
Default Java1.8.0_181
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/3/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/3/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/3/testReport/
Max. process+thread count4894 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/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.

@asfgit
asfgitforce-pushed the HBASE-18095/client-locate-meta-no-zookeeper branch from e41b46c to 1c41b36CompareDecember 28, 2019 19:24
@saintstack

Copy link
Copy Markdown
Contributor

I rebased for you. Why the conflict above do you think? And do you want to fix the checkstyle?

@saintstack

Copy link
Copy Markdown
Contributor

I think the rename to ConnectionRegistry looks good.

@bharathvbharathv left a comment

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.

@saintstack Thanks for the rebase. I fixed the checkstyle issues, squashed the commits and rebased on top of the latest HEAD.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 37sDocker 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 23 new or modified test files.
_ HBASE-18095/client-locate-meta-no-zookeeper Compile Tests _
+0 🆗mvndep1m 55sMaven dependency ordering for branch
+1 💚mvninstall6m 33sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚compile1m 23sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚checkstyle1m 54sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚shadedjars4m 44sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 5sHBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗spotbugs4m 20sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs5m 32sHBASE-18095/client-locate-meta-no-zookeeper passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall5m 2sthe patch passed
+1 💚compile1m 23sthe patch passed
+1 💚javac1m 23sthe patch passed
+1 💚checkstyle0m 32shbase-client: The patch generated 0 new + 14 unchanged - 2 fixed = 14 total (was 16)
+1 💚checkstyle1m 16sThe patch passed checkstyle in hbase-server
+1 💚whitespace0m 1sThe patch has no whitespace issues.
+1 💚shadedjars4m 36spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck16m 5sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 58sthe patch passed
+1 💚findbugs5m 50sthe patch passed
_ Other Tests _
+1 💚unit2m 2shbase-client in the patch passed.
-1 ❌unit163m 40shbase-server in the patch failed.
+1 💚asflicense0m 57sThe patch does not generate ASF License warnings.
233m 21s
ReasonTests
Failed junit testshadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
hadoop.hbase.master.assignment.TestRegionReplicaSplit
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/4/artifact/out/Dockerfile
GITHUB PR#957
JIRA IssueHBASE-23604
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux f8a2f9161d66 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-957/out/precommit/personality/provided.sh
git revisionHBASE-18095/client-locate-meta-no-zookeeper / 1c41b36
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/4/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/4/testReport/
Max. process+thread count4725 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/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.

@bharathv

Copy link
Copy Markdown
ContributorAuthor

@saintstack Can you please merge this when you get a chance? Will rebase #954. Thanks for the reviews.

@ndimiduk

Copy link
Copy Markdown
Member

Thank you for making an effort to improve this class name. I also find it confusing for a first-read experience.

@asfgit
asfgitforce-pushed the HBASE-18095/client-locate-meta-no-zookeeper branch from 1c41b36 to dffa9beCompareJanuary 3, 2020 00:21
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
@bharathv

Copy link
Copy Markdown
ContributorAuthor

@saintstack / @ndimiduk I force pushed after rebasing on the latest HEAD. Can one of you please merge this if it is good to go? I would like to rebase my registry patch on top of this.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 23sDocker 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 23 new or modified test files.
_ HBASE-18095/client-locate-meta-no-zookeeper Compile Tests _
+0 🆗mvndep0m 36sMaven dependency ordering for branch
+1 💚mvninstall5m 54sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚compile1m 25sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚checkstyle2m 1sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚shadedjars5m 1sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 1sHBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗spotbugs4m 47sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs5m 54sHBASE-18095/client-locate-meta-no-zookeeper passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall5m 37sthe patch passed
+1 💚compile1m 25sthe patch passed
+1 💚javac1m 25sthe patch passed
+1 💚checkstyle0m 34shbase-client: The patch generated 0 new + 14 unchanged - 2 fixed = 14 total (was 16)
+1 💚checkstyle1m 29sThe patch passed checkstyle in hbase-server
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars5m 2spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck18m 40sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc1m 2sthe patch passed
+1 💚findbugs6m 45sthe patch passed
_ Other Tests _
+1 💚unit2m 4shbase-client in the patch passed.
-1 ❌unit193m 58shbase-server in the patch failed.
+1 💚asflicense1m 6sThe patch does not generate ASF License warnings.
269m 8s
ReasonTests
Failed junit testshadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
hadoop.hbase.security.access.TestSnapshotScannerHDFSAclController
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/5/artifact/out/Dockerfile
GITHUB PR#957
JIRA IssueHBASE-23604
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 5e0cae99f245 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-957/out/precommit/personality/provided.sh
git revisionHBASE-18095/client-locate-meta-no-zookeeper / dffa9be
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/5/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/5/testReport/
Max. process+thread count4960 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/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.

@ndimiduk

Copy link
Copy Markdown
Member

@virajjasani you have anything to add here?

@virajjasani

virajjasani commented Jan 3, 2020

Copy link
Copy Markdown
Contributor

@virajjasani you have anything to add here?

changes look good and went through the conversations, +1 from my side

@ndimiduk

Copy link
Copy Markdown
Member

@bharathvTestZooKeeperTableArchiveClient fails consistently for me. Looks like it's built around a mock registry instance. Mind taking a look first?

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 34sDocker 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 1sThe patch appears to include 23 new or modified test files.
_ HBASE-18095/client-locate-meta-no-zookeeper Compile Tests _
+0 🆗mvndep0m 34sMaven dependency ordering for branch
+1 💚mvninstall5m 16sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚compile1m 16sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚checkstyle1m 49sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚shadedjars4m 40sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 1sHBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗spotbugs4m 24sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs5m 31sHBASE-18095/client-locate-meta-no-zookeeper passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall5m 0sthe patch passed
+1 💚compile1m 24sthe patch passed
+1 💚javac1m 24sthe patch passed
+1 💚checkstyle0m 31shbase-client: The patch generated 0 new + 14 unchanged - 2 fixed = 14 total (was 16)
+1 💚checkstyle1m 17sThe patch passed checkstyle in hbase-server
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 32spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck16m 4sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc1m 0sthe patch passed
+1 💚findbugs5m 56sthe patch passed
_ Other Tests _
+1 💚unit1m 59shbase-client in the patch passed.
+1 💚unit157m 21shbase-server in the patch passed.
+1 💚asflicense1m 6sThe patch does not generate ASF License warnings.
223m 38s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/6/artifact/out/Dockerfile
GITHUB PR#957
JIRA IssueHBASE-23604
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 49619b10215a 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-957/out/precommit/personality/provided.sh
git revisionHBASE-18095/client-locate-meta-no-zookeeper / dffa9be
Default Java1.8.0_181
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/6/testReport/
Max. process+thread count4779 (vs. ulimit of 10000)
modulesC: hbase-client hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-957/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.

@ndimiduk
ndimiduk merged commit d016cd9 into apache:HBASE-18095/client-locate-meta-no-zookeeperJan 3, 2020
asfgit pushed a commit that referenced this pull request Jan 9, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
asfgit pushed a commit that referenced this pull request Jan 14, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
ndimiduk pushed a commit to ndimiduk/hbase that referenced this pull request Jan 21, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
asfgit pushed a commit that referenced this pull request Jan 24, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit to bharathv/hbase that referenced this pull request Jan 28, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 12bb41e)
asfgit pushed a commit that referenced this pull request Jan 29, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
asfgit pushed a commit that referenced this pull request Jan 29, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
asfgit pushed a commit that referenced this pull request Jan 30, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 2, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 12bb41e)
asfgit pushed a commit that referenced this pull request Feb 3, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
asfgit pushed a commit that referenced this pull request Feb 4, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
asfgit pushed a commit that referenced this pull request Feb 5, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
asfgit pushed a commit that referenced this pull request Feb 5, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit that referenced this pull request Feb 9, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit that referenced this pull request Feb 11, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit that referenced this pull request Feb 13, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 14, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 17, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit that referenced this pull request Feb 18, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 20, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit that referenced this pull request Feb 20, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 23, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 12bb41e)
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 25, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 12bb41e)
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 26, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 12bb41e)
bharathv added a commit that referenced this pull request Feb 27, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 12bb41e)
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
* HBASE-23604: Cleanup AsyncRegistry interface
- Cleans up the method names to make more sense and adds a little
more javadocs for context. In future patches we can revisit
the name of the actual class to make it more self explanatory.
- Does AsyncRegistry -> ConnectionRegistry rename.
"async" ness of the registry is kind of implicit based on
the interface contents and need not be reflected in the name.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
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

@bharathv@Apache-HBase@saintstack@ndimiduk@virajjasani