Skip to content

Conversation

@bharathv
Copy link
Contributor

@bharathv bharathv commented Jan 6, 2020

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

@bharathv
Copy link
Contributor Author

bharathv commented Jan 6, 2020

@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

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 34s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-0 ⚠️ test4tests 0m 0s The 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 💚 mvninstall 5m 33s HBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚 compile 0m 26s HBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚 checkstyle 0m 34s HBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚 shadedjars 4m 37s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 25s HBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗 spotbugs 1m 9s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 1m 8s HBASE-18095/client-locate-meta-no-zookeeper passed
_ Patch Compile Tests _
+1 💚 mvninstall 5m 7s the patch passed
+1 💚 compile 0m 26s the patch passed
+1 💚 javac 0m 26s the patch passed
-1 ❌ checkstyle 0m 31s hbase-client: The patch generated 1 new + 13 unchanged - 0 fixed = 14 total (was 13)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 4m 41s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 15m 50s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 23s the patch passed
+1 💚 findbugs 1m 14s the patch passed
_ Other Tests _
+1 💚 unit 1m 59s hbase-client in the patch passed.
+1 💚 asflicense 0m 14s The patch does not generate ASF License warnings.
50m 13s
Subsystem Report/Notes
Docker Client=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 Issue HBASE-23648
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 2561f2b295d6 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-994/out/precommit/personality/provided.sh
git revision HBASE-18095/client-locate-meta-no-zookeeper / d016cd9
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/1/artifact/out/diff-checkstyle-hbase-client.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/1/testReport/
Max. process+thread count 288 (vs. ulimit of 10000)
modules C: hbase-client U: hbase-client
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/1/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@bharathv
Copy link
Contributor Author

bharathv commented Jan 7, 2020

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

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 33s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-0 ⚠️ test4tests 0m 0s The 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 💚 mvninstall 5m 31s HBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚 compile 0m 25s HBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚 checkstyle 0m 32s HBASE-18095/client-locate-meta-no-zookeeper passed
+1 💚 shadedjars 4m 42s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 25s HBASE-18095/client-locate-meta-no-zookeeper passed
+0 🆗 spotbugs 1m 8s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 1m 5s HBASE-18095/client-locate-meta-no-zookeeper passed
_ Patch Compile Tests _
+1 💚 mvninstall 5m 0s the patch passed
+1 💚 compile 0m 25s the patch passed
+1 💚 javac 0m 25s the patch passed
+1 💚 checkstyle 0m 31s hbase-client: The patch generated 0 new + 0 unchanged - 13 fixed = 0 total (was 13)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 4m 36s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 15m 47s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 24s the patch passed
+1 💚 findbugs 1m 12s the patch passed
_ Other Tests _
+1 💚 unit 1m 58s hbase-client in the patch passed.
+1 💚 asflicense 0m 14s The patch does not generate ASF License warnings.
49m 36s
Subsystem Report/Notes
Docker Client=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 Issue HBASE-23648
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux b8d4fae3599c 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-994/out/precommit/personality/provided.sh
git revision HBASE-18095/client-locate-meta-no-zookeeper / d016cd9
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/2/testReport/
Max. process+thread count 289 (vs. ulimit of 10000)
modules C: hbase-client U: hbase-client
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-994/2/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@saintstack saintstack left a comment

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
Copy link
Contributor Author

bharathv commented Jan 7, 2020

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
Contributor Author

bharathv commented Jan 8, 2020

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

@asfgit asfgit force-pushed the HBASE-18095/client-locate-meta-no-zookeeper branch from d016cd9 to d9c17c3 Compare January 9, 2020 18:06
@saintstack
Copy link
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-zookeeper Jan 9, 2020
@bharathv
Copy link
Contributor Author

bharathv commented Jan 9, 2020

@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 free to 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