Skip to content

HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin - #994

Merged
saintstack merged 2 commits into
apache:HBASE-18095/client-locate-meta-no-zookeeperfrom
bharathv:HBASE-23648
Jan 9, 2020
Merged

HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin#994
saintstack merged 2 commits into
apache:HBASE-18095/client-locate-meta-no-zookeeperfrom
bharathv:HBASE-23648

Conversation

@bharathv

Copy link
Copy Markdown
Contributor

No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.

@bharathv

Copy link
Copy Markdown
ContributorAuthor

@saintstack / @Apache9 A small fix that fixes ad-hoc creation of registries. I audited the code and other invocations look fine.

@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.
-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.
_ HBASE-18095/client-locate-meta-no-zookeeper Compile Tests _
+1 💚mvninstall5m 33sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚compile0m 26sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚checkstyle0m 34sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚shadedjars4m 37sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 25sHBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗spotbugs1m 9sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs1m 8sHBASE-18095/client-locate-meta-no-zookeeper passed
_ Patch Compile Tests _
+1 💚mvninstall5m 7sthe patch passed
+1 💚compile0m 26sthe patch passed
+1 💚javac0m 26sthe patch passed
-1 ❌checkstyle0m 31shbase-client: The patch generated 1 new + 13 unchanged - 0 fixed = 14 total (was 13)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 41spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck15m 50sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 23sthe patch passed
+1 💚findbugs1m 14sthe patch passed
_ Other Tests _
+1 💚unit1m 59shbase-client in the patch passed.
+1 💚asflicense0m 14sThe patch does not generate ASF License warnings.
50m 13s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/1/artifact/out/Dockerfile
GITHUB PR#994
JIRA IssueHBASE-23648
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 2561f2b295d6 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-994/out/precommit/personality/provided.sh
git revisionHBASE-18095/client-locate-meta-no-zookeeper / d016cd9
Default Java1.8.0_181
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/1/artifact/out/diff-checkstyle-hbase-client.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/1/testReport/
Max. process+thread count288 (vs. ulimit of 10000)
modulesC: hbase-client U: hbase-client
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/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.

@bharathv

Copy link
Copy Markdown
ContributorAuthor

Existing test coverage should be good enough, hence no new tests are added.

@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.
-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.
_ HBASE-18095/client-locate-meta-no-zookeeper Compile Tests _
+1 💚mvninstall5m 31sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚compile0m 25sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚checkstyle0m 32sHBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚shadedjars4m 42sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 25sHBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗spotbugs1m 8sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs1m 5sHBASE-18095/client-locate-meta-no-zookeeper passed
_ Patch Compile Tests _
+1 💚mvninstall5m 0sthe patch passed
+1 💚compile0m 25sthe patch passed
+1 💚javac0m 25sthe patch passed
+1 💚checkstyle0m 31shbase-client: The patch generated 0 new + 0 unchanged - 13 fixed = 0 total (was 13)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars4m 36spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck15m 47sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 24sthe patch passed
+1 💚findbugs1m 12sthe patch passed
_ Other Tests _
+1 💚unit1m 58shbase-client in the patch passed.
+1 💚asflicense0m 14sThe patch does not generate ASF License warnings.
49m 36s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/2/artifact/out/Dockerfile
GITHUB PR#994
JIRA IssueHBASE-23648
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux b8d4fae3599c 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-994/out/precommit/personality/provided.sh
git revisionHBASE-18095/client-locate-meta-no-zookeeper / d016cd9
Default Java1.8.0_181
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/2/testReport/
Max. process+thread count289 (vs. ulimit of 10000)
modulesC: hbase-client U: hbase-client
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/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 does it get committed? On branch? Leaving it for a day in case @Apache9 wants to take a look.

For the future, try to minimize your changes. Most of the below is just refactoring. Takes a while to verify no accidental breakage. For the future.

Good stuff.

@bharathv

bharathv commented Jan 7, 2020

Copy link
Copy Markdown
ContributorAuthor

LGTM. Where does it get committed? On branch?

Yes please, feature branch. It builds on the "ConnectionRegistry" change that exists only in the branch. I'm hoping the branch gets merged into the master soon.

For the future, try to minimize your changes. Most of the below is just refactoring. Takes a while to verify no accidental breakage. For the future.

Ack. I see your point. Generally I'm trying to fix all the check style issues around the places I'm touching, there are tons of violations. But I guess it is better to bulk fix them in separate changes.

@bharathv

Copy link
Copy Markdown
ContributorAuthor

@saintstack is this good to go? thanks for the review.

@asfgit
asfgitforce-pushed the HBASE-18095/client-locate-meta-no-zookeeper branch from d016cd9 to d9c17c3CompareJanuary 9, 2020 18:06
@saintstack

Copy link
Copy Markdown
Contributor

Sorry @bharathv I left it too long? There are conflicts? Mind fixing please?

No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
@saintstack
saintstack merged commit d2d7b2b into apache:HBASE-18095/client-locate-meta-no-zookeeperJan 9, 2020
@bharathv

Copy link
Copy Markdown
ContributorAuthor

@saintstack No problemo! Appreciate the reviews.

@bharathv
bharathv deleted the HBASE-23648 branch January 9, 2020 20:27
asfgit pushed a commit that referenced this pull request Jan 14, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
ndimiduk pushed a commit to ndimiduk/hbase that referenced this pull request Jan 21, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
asfgit pushed a commit that referenced this pull request Jan 24, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit to bharathv/hbase that referenced this pull request Jan 28, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
(cherry picked from commit 07c3826)
asfgit pushed a commit that referenced this pull request Jan 29, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
asfgit pushed a commit that referenced this pull request Jan 29, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
asfgit pushed a commit that referenced this pull request Jan 30, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 2, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
(cherry picked from commit 07c3826)
asfgit pushed a commit that referenced this pull request Feb 3, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
asfgit pushed a commit that referenced this pull request Feb 4, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
asfgit pushed a commit that referenced this pull request Feb 5, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
asfgit pushed a commit that referenced this pull request Feb 5, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit that referenced this pull request Feb 9, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit that referenced this pull request Feb 11, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit that referenced this pull request Feb 13, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 14, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 17, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit that referenced this pull request Feb 18, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 20, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit that referenced this pull request Feb 20, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 23, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
(cherry picked from commit 07c3826)
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 25, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
(cherry picked from commit 07c3826)
bharathv added a commit to bharathv/hbase that referenced this pull request Feb 26, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
(cherry picked from commit 07c3826)
bharathv added a commit that referenced this pull request Feb 27, 2020
…min (#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
(cherry picked from commit 07c3826)
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
…min (apache#994)
* HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin
No need to create and close a new registry on demand. Audited other
usages of getRegistry() and the code looks fine.
* Fix checkstyle issues in RawAsyncHBaseAdmin
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

@bharathv@Apache-HBase@saintstack