Skip to content

HBASE-26147: Add a dry run mode to the balancer, where moves are calculated but not actually executed - #3630

Closed
bbeaudreault wants to merge 2 commits into
apache:masterfrom
bbeaudreault:dry_run_balancer_master
Closed

HBASE-26147: Add a dry run mode to the balancer, where moves are calculated but not actually executed#3630
bbeaudreault wants to merge 2 commits into
apache:masterfrom
bbeaudreault:dry_run_balancer_master

Conversation

@bbeaudreault

Copy link
Copy Markdown
Contributor

This is the master port for #3536

I also addressed documentation feedback from #3536. This port was not super straightforward because of rsgroup being moved into hbase-server. The move was not a simply file move, but code moved within various classes. Additionally, HBaseAdmin.java was removed in master in favor of AdminOverAsyncAdmin (and some other minor admin changes).

I've read everything over, but it may be worth giving a quick look for correctness

@bbeaudreault
bbeaudreaultforce-pushed the dry_run_balancer_master branch from b00398b to df64523CompareAugust 26, 2021 13:04
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 28sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗prototool0m 0sprototool was not available.
+1 💚hbaseanti0m 1sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for branch
+1 💚mvninstall4m 12smaster passed
+1 💚compile7m 40smaster passed
+1 💚checkstyle2m 52smaster passed
+1 💚spotbugs9m 0smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
-1 ❌mvninstall2m 2sroot in the patch failed.
-1 ❌compile2m 2shbase-server in the patch failed.
-0 ⚠️cc2m 2shbase-server in the patch failed.
-0 ⚠️javac2m 2shbase-server in the patch failed.
-0 ⚠️checkstyle0m 34shbase-client: The patch generated 14 new + 277 unchanged - 0 fixed = 291 total (was 277)
-0 ⚠️checkstyle1m 7shbase-server: The patch generated 12 new + 176 unchanged - 1 fixed = 188 total (was 177)
-0 ⚠️checkstyle0m 39shbase-thrift: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
-0 ⚠️rubocop0m 27sThe patch generated 50 new + 686 unchanged - 4 fixed = 736 total (was 690)
-0 ⚠️whitespace0m 0sThe patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌hadoopcheck2m 15sThe patch causes 20 errors with Hadoop v3.1.2.
-1 ❌hadoopcheck4m 34sThe patch causes 20 errors with Hadoop v3.2.1.
-1 ❌hadoopcheck6m 54sThe patch causes 20 errors with Hadoop v3.3.0.
-1 ❌hbaseprotoc0m 37shbase-server in the patch failed.
-1 ❌spotbugs0m 34shbase-server in the patch failed.
_ Other Tests _
+1 💚asflicense0m 57sThe patch does not generate ASF License warnings.
57m 48s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3630
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
unameLinux e2f6592e1873 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 23:07:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
cchttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-thrift.txt
rubocophttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/diff-patch-rubocop.txt
whitespacehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/whitespace-eol.txt
hadoopcheckhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-javac-3.1.2.txt
hadoopcheckhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-javac-3.2.1.txt
hadoopcheckhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-javac-3.3.0.txt
hbaseprotochttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-hbaseprotoc-hbase-server.txt
spotbugshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-spotbugs-hbase-server.txt
Max. process+thread count96 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 16sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for branch
+1 💚mvninstall5m 3smaster passed
+1 💚compile3m 56smaster passed
+1 💚shadedjars9m 8sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 34smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
-1 ❌mvninstall2m 33sroot in the patch failed.
-1 ❌compile0m 58shbase-server in the patch failed.
-0 ⚠️javac0m 58shbase-server in the patch failed.
-1 ❌shadedjars7m 1spatch has 10 errors when building our shaded downstream artifacts.
+1 💚javadoc2m 30sthe patch passed
_ Other Tests _
+1 💚unit1m 4shbase-protocol-shaded in the patch passed.
+1 💚unit1m 44shbase-client in the patch passed.
-1 ❌unit0m 58shbase-server in the patch failed.
+1 💚unit7m 19shbase-thrift in the patch passed.
-1 ❌unit6m 52shbase-shell in the patch failed.
58m 56s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3630
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 7b8a0f5fec3c 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-11.0.10+9
mvninstallhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk11-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-server.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-server.txt
shadedjarshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-shell.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/testReport/
Max. process+thread count1531 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec3m 20sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for branch
+1 💚mvninstall5m 3smaster passed
+1 💚compile3m 37smaster passed
+1 💚shadedjars9m 54sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 18smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
-1 ❌mvninstall2m 20sroot in the patch failed.
-1 ❌compile0m 52shbase-server in the patch failed.
-0 ⚠️javac0m 52shbase-server in the patch failed.
-1 ❌shadedjars7m 8spatch has 20 errors when building our shaded downstream artifacts.
+1 💚javadoc1m 57sthe patch passed
_ Other Tests _
+1 💚unit0m 50shbase-protocol-shaded in the patch passed.
+1 💚unit1m 35shbase-client in the patch passed.
-1 ❌unit0m 53shbase-server in the patch failed.
+1 💚unit7m 56shbase-thrift in the patch passed.
-1 ❌unit7m 35shbase-shell in the patch failed.
60m 31s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3630
Optional Testsjavac javadoc unit shadedjars compile
unameLinux d0de900d5b81 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk8-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-server.txt
javachttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-server.txt
shadedjarshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk8-hadoop3-check/output/patch-shadedjars.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-shell.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/testReport/
Max. process+thread count1375 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 28sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗prototool0m 0sprototool was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for branch
+1 💚mvninstall4m 14smaster passed
+1 💚compile7m 49smaster passed
+1 💚checkstyle2m 52smaster passed
+1 💚spotbugs9m 58smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall4m 51sthe patch passed
+1 💚compile7m 48sthe patch passed
+1 💚cc7m 48sthe patch passed
+1 💚javac7m 48sthe patch passed
-0 ⚠️checkstyle0m 31shbase-client: The patch generated 14 new + 277 unchanged - 0 fixed = 291 total (was 277)
-0 ⚠️checkstyle1m 8shbase-server: The patch generated 10 new + 176 unchanged - 1 fixed = 186 total (was 177)
-0 ⚠️checkstyle0m 45shbase-thrift: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
-0 ⚠️rubocop0m 30sThe patch generated 50 new + 686 unchanged - 4 fixed = 736 total (was 690)
-0 ⚠️whitespace0m 0sThe patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚hadoopcheck22m 53sPatch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚hbaseprotoc3m 4sthe patch passed
+1 💚spotbugs11m 26sthe patch passed
_ Other Tests _
+1 💚asflicense0m 59sThe patch does not generate ASF License warnings.
91m 9s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3630
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
unameLinux d0df391cd85e 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 23:07:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-1.8.0_282-b08
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-thrift.txt
rubocophttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-general-check/output/diff-patch-rubocop.txt
whitespacehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-general-check/output/whitespace-eol.txt
Max. process+thread count96 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
Contributor

The HBaseTestingUtility has been renamed to HBaseTestingUtil on master, which cause the compilation error.

Anyway, I think this means we should try to push out 3.0.0 ASAP, as there are more and more incompatible changes between master and branch-2.

@bbeaudreault

Copy link
Copy Markdown
ContributorAuthor

Thank you Duo. I didn't notice this because my maven threw a NPE locally rather than any useful compile error (this jvm bug), so I was hoping the build server would help me. I ended up figuring it out and fixing the HBaseTestingUtil conflict by setting <forceJavacCompilerUse>true</forceJavacCompilerUse> locally for maven-compile-plugin. Hopefully the next build should succeed now.

I agree it'd be nice to get moving on 3.0.0, it was pretty painful to port this particular patch.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 59sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall4m 51smaster passed
+1 💚compile3m 54smaster passed
+1 💚shadedjars9m 6sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 30smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall4m 46sthe patch passed
+1 💚compile3m 55sthe patch passed
+1 💚javac3m 55sthe patch passed
+1 💚shadedjars9m 8spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 32sthe patch passed
_ Other Tests _
+1 💚unit1m 3shbase-protocol-shaded in the patch passed.
+1 💚unit1m 42shbase-client in the patch passed.
-1 ❌unit212m 57shbase-server in the patch failed.
+1 💚unit7m 29shbase-thrift in the patch passed.
+1 💚unit7m 5shbase-shell in the patch passed.
275m 25s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3630
Optional Testsjavac javadoc unit shadedjars compile
unameLinux a9b2f4010e61 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/testReport/
Max. process+thread count3802 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 4sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for branch
+1 💚mvninstall4m 16smaster passed
+1 💚compile3m 10smaster passed
+1 💚shadedjars8m 59sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 58smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall4m 8sthe patch passed
+1 💚compile3m 9sthe patch passed
+1 💚javac3m 9sthe patch passed
+1 💚shadedjars9m 4spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 58sthe patch passed
_ Other Tests _
+1 💚unit0m 47shbase-protocol-shaded in the patch passed.
+1 💚unit1m 35shbase-client in the patch passed.
-1 ❌unit223m 20shbase-server in the patch failed.
+1 💚unit7m 58shbase-thrift in the patch passed.
+1 💚unit7m 45shbase-shell in the patch passed.
282m 23s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3630
Optional Testsjavac javadoc unit shadedjars compile
unameLinux d0d29338e96f 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/testReport/
Max. process+thread count3610 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@bbeaudreault
bbeaudreaultforce-pushed the dry_run_balancer_master branch from df64523 to 4000c72CompareAugust 26, 2021 18:00
@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 37sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗prototool0m 0sprototool was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for branch
+1 💚mvninstall4m 56smaster passed
+1 💚compile8m 33smaster passed
+1 💚checkstyle3m 15smaster passed
+1 💚spotbugs9m 52smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall4m 24sthe patch passed
+1 💚compile8m 49sthe patch passed
+1 💚cc8m 49sthe patch passed
+1 💚javac8m 49sthe patch passed
-0 ⚠️checkstyle0m 39shbase-client: The patch generated 14 new + 277 unchanged - 0 fixed = 291 total (was 277)
-0 ⚠️checkstyle1m 21shbase-server: The patch generated 10 new + 176 unchanged - 1 fixed = 186 total (was 177)
-0 ⚠️checkstyle0m 50shbase-thrift: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
-0 ⚠️rubocop0m 31sThe patch generated 50 new + 686 unchanged - 4 fixed = 736 total (was 690)
-0 ⚠️whitespace0m 0sThe patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚hadoopcheck23m 12sPatch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚hbaseprotoc3m 38sthe patch passed
+1 💚spotbugs10m 33sthe patch passed
_ Other Tests _
+1 💚asflicense1m 5sThe patch does not generate ASF License warnings.
95m 12s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3630
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
unameLinux f670200b13c2 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 23:07:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-1.8.0_282-b08
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/artifact/yetus-general-check/output/diff-checkstyle-hbase-thrift.txt
rubocophttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/artifact/yetus-general-check/output/diff-patch-rubocop.txt
whitespacehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/artifact/yetus-general-check/output/whitespace-eol.txt
Max. process+thread count96 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 0sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall4m 48smaster passed
+1 💚compile3m 52smaster passed
+1 💚shadedjars9m 4sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 32smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
+1 💚mvninstall4m 46sthe patch passed
+1 💚compile3m 54sthe patch passed
+1 💚javac3m 54sthe patch passed
+1 💚shadedjars9m 6spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 31sthe patch passed
_ Other Tests _
+1 💚unit1m 7shbase-protocol-shaded in the patch passed.
+1 💚unit1m 45shbase-client in the patch passed.
+1 💚unit208m 35shbase-server in the patch passed.
+1 💚unit7m 43shbase-thrift in the patch passed.
+1 💚unit7m 3shbase-shell in the patch passed.
271m 5s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3630
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 0681e1f413d6 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/testReport/
Max. process+thread count3381 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 13sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for branch
+1 💚mvninstall4m 7smaster passed
+1 💚compile3m 9smaster passed
+1 💚shadedjars9m 2sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 58smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
+1 💚mvninstall4m 6sthe patch passed
+1 💚compile3m 10sthe patch passed
+1 💚javac3m 10sthe patch passed
+1 💚shadedjars9m 5spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 55sthe patch passed
_ Other Tests _
+1 💚unit0m 48shbase-protocol-shaded in the patch passed.
+1 💚unit1m 33shbase-client in the patch passed.
+1 💚unit214m 18shbase-server in the patch passed.
+1 💚unit7m 54shbase-thrift in the patch passed.
+1 💚unit7m 45shbase-shell in the patch passed.
273m 19s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3630
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 006f8fb9d120 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 735bcf8
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/testReport/
Max. process+thread count3741 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

* Encapsulates options for executing a run of the Balancer.
*/
@InterfaceAudience.Public
@InterfaceStability.Evolving

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.

There is no IS.Evolving for IA.Public classes, it should always be IS.Stable implicitly, so we do not add IS annotation for IA.Public classes.

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.

Sorry, I misunderstood. I will remove. I have to say that it's a little unfortunate that there's no way with the current compatibility matrix to mark something as effectively beta. That's what I thought Evolving was for, and part of the reason we decided to break this out of the more stable Admin interface.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Apache9 I'm also surprised by your interpretation of the interaction between IA.Public and IS.Evolving. The javadoc on InterfaceStability says

All classes that are annotated with {@link Public} or {@link LimitedPrivate} must have InterfaceStability annotation.

Indeed, InterfaceStability itself is annotated with IA.Public and IS.Evolving.

* Builder for constructing a {@link BalanceRequest}
*/
@InterfaceAudience.Public
@InterfaceStability.Evolving

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.

Ditto.

* Response returned from a balancer invocation
*/
@InterfaceAudience.Public
@InterfaceStability.Evolving

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.

Remove IS annotation.

* Builds a {@link BalanceResponse} for returning results of a balance invocation to callers
*/
@InterfaceAudience.Public
@InterfaceStability.Evolving

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.

Ditto.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 29sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗prototool0m 0sprototool was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 28sMaven dependency ordering for branch
+1 💚mvninstall4m 31smaster passed
+1 💚compile9m 11smaster passed
+1 💚checkstyle3m 11smaster passed
+1 💚spotbugs11m 48smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for patch
+1 💚mvninstall5m 13sthe patch passed
+1 💚compile8m 54sthe patch passed
+1 💚cc8m 54sthe patch passed
+1 💚javac8m 54sthe patch passed
-0 ⚠️checkstyle0m 34shbase-client: The patch generated 14 new + 277 unchanged - 0 fixed = 291 total (was 277)
-0 ⚠️checkstyle1m 21shbase-server: The patch generated 10 new + 176 unchanged - 1 fixed = 186 total (was 177)
-0 ⚠️checkstyle0m 46shbase-thrift: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
-0 ⚠️rubocop0m 36sThe patch generated 50 new + 686 unchanged - 4 fixed = 736 total (was 690)
-0 ⚠️whitespace0m 0sThe patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚hadoopcheck22m 57sPatch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚hbaseprotoc3m 47sthe patch passed
+1 💚spotbugs11m 45sthe patch passed
_ Other Tests _
+1 💚asflicense1m 0sThe patch does not generate ASF License warnings.
99m 11s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3630
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
unameLinux 59f1f17b5280 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 23:07:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 07c0eee
Default JavaAdoptOpenJDK-1.8.0_282-b08
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
checkstylehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/artifact/yetus-general-check/output/diff-checkstyle-hbase-thrift.txt
rubocophttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/artifact/yetus-general-check/output/diff-patch-rubocop.txt
whitespacehttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/artifact/yetus-general-check/output/whitespace-eol.txt
Max. process+thread count96 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 38sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for branch
+1 💚mvninstall4m 23smaster passed
+1 💚compile4m 7smaster passed
+1 💚shadedjars10m 42sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 16smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall4m 49sthe patch passed
+1 💚compile3m 54sthe patch passed
+1 💚javac3m 54sthe patch passed
+1 💚shadedjars11m 6spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 21sthe patch passed
_ Other Tests _
+1 💚unit0m 58shbase-protocol-shaded in the patch passed.
+1 💚unit1m 34shbase-client in the patch passed.
+1 💚unit162m 12shbase-server in the patch passed.
+1 💚unit6m 40shbase-thrift in the patch passed.
+1 💚unit7m 15shbase-shell in the patch passed.
226m 45s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#3630
Optional Testsjavac javadoc unit shadedjars compile
unameLinux cbb7b34add28 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 07c0eee
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/testReport/
Max. process+thread count5083 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 0sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for branch
+1 💚mvninstall5m 1smaster passed
+1 💚compile3m 59smaster passed
+1 💚shadedjars9m 8sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 36smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
+1 💚mvninstall4m 44sthe patch passed
+1 💚compile3m 59sthe patch passed
+1 💚javac3m 59sthe patch passed
+1 💚shadedjars9m 5spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 32sthe patch passed
_ Other Tests _
+1 💚unit1m 4shbase-protocol-shaded in the patch passed.
+1 💚unit1m 43shbase-client in the patch passed.
+1 💚unit203m 8shbase-server in the patch passed.
+1 💚unit7m 35shbase-thrift in the patch passed.
+1 💚unit6m 59shbase-shell in the patch passed.
265m 48s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3630
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 1c0387ebf2f5 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 07c0eee
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/testReport/
Max. process+thread count3519 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@joshelserjoshelser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Sorry I forgot that Public+Evolving was a no-go (you're right that we should have something in-between -- LimitedPrivate+Evolving might be the way to go but it's hard when we're talking about Admin and other long-standing API).

Only one final thought is that BalanceResponse$Builder probably shouldn't be Public. Use of the object is certainly Public, but how that object is created does not need to be public.

I think I'd rather see this land rather than another round of reviews. The last precommit round looks good to me (just some flakiness in tests). Let me try to do that tonight.

/**
* Builds a {@link BalanceResponse} for returning results of a balance invocation to callers
*/
@InterfaceAudience.Public

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking about it, we probably don't want the Builder class here to be Public. Users shouldn't ever be building this BalanceResponse on their own, just using the BalanceResponse.

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.

I created https://issues.apache.org/jira/browse/HBASE-26240 for this. I'll submit a small PR once these existing PRs are merged.

@ndimiduk

Copy link
Copy Markdown
Member

I left a comment on one of Duo's line comments, but I'll repeat it here.

I'm also surprised by this interpretation of the interaction between IA.Public and IS.Evolving. The javadoc on InterfaceStability says

All classes that are annotated with {@link Public} or {@link LimitedPrivate} must have InterfaceStability annotation.

Indeed, InterfaceStability itself is annotated with IA.Public and IS.Evolving.

@joshelser@Apache9 do we document the HBase project's interpretation of these annotations somewhere in our developer guide?

@joshelser

Copy link
Copy Markdown
Member

do we document the HBase project's interpretation of these annotations somewhere in our developer guide?

Yeah, we have this: https://hbase.apache.org/book.html#hbase.client.api.surface

I think Bryan definitely found a gap in that we don't have a good way to represent user-facing but not yet stable.

@joshelser

Copy link
Copy Markdown
Member

Best as I can tell, the test failures were flakes which passed on re-run.

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

@bbeaudreault@Apache-HBase@Apache9@ndimiduk@joshelser