Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed

Conversation

bbeaudreault
Copy link
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

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 28s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 prototool 0m 0s prototool was not available.
+1 💚 hbaseanti 0m 1s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for branch
+1 💚 mvninstall 4m 12s master passed
+1 💚 compile 7m 40s master passed
+1 💚 checkstyle 2m 52s master passed
+1 💚 spotbugs 9m 0s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
-1 ❌ mvninstall 2m 2s root in the patch failed.
-1 ❌ compile 2m 2s hbase-server in the patch failed.
-0 ⚠️ cc 2m 2s hbase-server in the patch failed.
-0 ⚠️ javac 2m 2s hbase-server in the patch failed.
-0 ⚠️ checkstyle 0m 34s hbase-client: The patch generated 14 new + 277 unchanged - 0 fixed = 291 total (was 277)
-0 ⚠️ checkstyle 1m 7s hbase-server: The patch generated 12 new + 176 unchanged - 1 fixed = 188 total (was 177)
-0 ⚠️ checkstyle 0m 39s hbase-thrift: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
-0 ⚠️ rubocop 0m 27s The patch generated 50 new + 686 unchanged - 4 fixed = 736 total (was 690)
-0 ⚠️ whitespace 0m 0s The 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 ❌ hadoopcheck 2m 15s The patch causes 20 errors with Hadoop v3.1.2.
-1 ❌ hadoopcheck 4m 34s The patch causes 20 errors with Hadoop v3.2.1.
-1 ❌ hadoopcheck 6m 54s The patch causes 20 errors with Hadoop v3.3.0.
-1 ❌ hbaseprotoc 0m 37s hbase-server in the patch failed.
-1 ❌ spotbugs 0m 34s hbase-server in the patch failed.
_ Other Tests _
+1 💚 asflicense 0m 57s The patch does not generate ASF License warnings.
57m 48s
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-1.8.0_282-b08
mvninstall https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://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
cc https://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
javac https://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
checkstyle https://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
checkstyle https://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
checkstyle https://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
rubocop https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/diff-patch-rubocop.txt
whitespace https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-general-check/output/whitespace-eol.txt
hadoopcheck https://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
hadoopcheck https://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
hadoopcheck https://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
hbaseprotoc https://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
spotbugs https://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 count 96 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 2m 16s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for branch
+1 💚 mvninstall 5m 3s master passed
+1 💚 compile 3m 56s master passed
+1 💚 shadedjars 9m 8s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 34s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
-1 ❌ mvninstall 2m 33s root in the patch failed.
-1 ❌ compile 0m 58s hbase-server in the patch failed.
-0 ⚠️ javac 0m 58s hbase-server in the patch failed.
-1 ❌ shadedjars 7m 1s patch has 10 errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 30s the patch passed
_ Other Tests _
+1 💚 unit 1m 4s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 44s hbase-client in the patch passed.
-1 ❌ unit 0m 58s hbase-server in the patch failed.
+1 💚 unit 7m 19s hbase-thrift in the patch passed.
-1 ❌ unit 6m 52s hbase-shell in the patch failed.
58m 56s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-11.0.10+9
mvninstall https://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
compile https://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
javac https://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
shadedjars https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt
unit https://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
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/testReport/
Max. process+thread count 1531 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 3m 20s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for branch
+1 💚 mvninstall 5m 3s master passed
+1 💚 compile 3m 37s master passed
+1 💚 shadedjars 9m 54s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 18s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for patch
-1 ❌ mvninstall 2m 20s root in the patch failed.
-1 ❌ compile 0m 52s hbase-server in the patch failed.
-0 ⚠️ javac 0m 52s hbase-server in the patch failed.
-1 ❌ shadedjars 7m 8s patch has 20 errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 57s the patch passed
_ Other Tests _
+1 💚 unit 0m 50s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 35s hbase-client in the patch passed.
-1 ❌ unit 0m 53s hbase-server in the patch failed.
+1 💚 unit 7m 56s hbase-thrift in the patch passed.
-1 ❌ unit 7m 35s hbase-shell in the patch failed.
60m 31s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-1.8.0_282-b08
mvninstall https://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
compile https://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
javac https://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
shadedjars https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/artifact/yetus-jdk8-hadoop3-check/output/patch-shadedjars.txt
unit https://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
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/testReport/
Max. process+thread count 1375 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 28s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 prototool 0m 0s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for branch
+1 💚 mvninstall 4m 14s master passed
+1 💚 compile 7m 49s master passed
+1 💚 checkstyle 2m 52s master passed
+1 💚 spotbugs 9m 58s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for patch
+1 💚 mvninstall 4m 51s the patch passed
+1 💚 compile 7m 48s the patch passed
+1 💚 cc 7m 48s the patch passed
+1 💚 javac 7m 48s the patch passed
-0 ⚠️ checkstyle 0m 31s hbase-client: The patch generated 14 new + 277 unchanged - 0 fixed = 291 total (was 277)
-0 ⚠️ checkstyle 1m 8s hbase-server: The patch generated 10 new + 176 unchanged - 1 fixed = 186 total (was 177)
-0 ⚠️ checkstyle 0m 45s hbase-thrift: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
-0 ⚠️ rubocop 0m 30s The patch generated 50 new + 686 unchanged - 4 fixed = 736 total (was 690)
-0 ⚠️ whitespace 0m 0s The 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 💚 hadoopcheck 22m 53s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚 hbaseprotoc 3m 4s the patch passed
+1 💚 spotbugs 11m 26s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 59s The patch does not generate ASF License warnings.
91m 9s
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://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
checkstyle https://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
checkstyle https://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
rubocop https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/artifact/yetus-general-check/output/diff-patch-rubocop.txt
whitespace https://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 count 96 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9
Copy link
Contributor

Apache9 commented Aug 26, 2021

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

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

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 59s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for branch
+1 💚 mvninstall 4m 51s master passed
+1 💚 compile 3m 54s master passed
+1 💚 shadedjars 9m 6s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 30s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for patch
+1 💚 mvninstall 4m 46s the patch passed
+1 💚 compile 3m 55s the patch passed
+1 💚 javac 3m 55s the patch passed
+1 💚 shadedjars 9m 8s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 32s the patch passed
_ Other Tests _
+1 💚 unit 1m 3s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 42s hbase-client in the patch passed.
-1 ❌ unit 212m 57s hbase-server in the patch failed.
+1 💚 unit 7m 29s hbase-thrift in the patch passed.
+1 💚 unit 7m 5s hbase-shell in the patch passed.
275m 25s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-11.0.10+9
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/testReport/
Max. process+thread count 3802 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 4s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for branch
+1 💚 mvninstall 4m 16s master passed
+1 💚 compile 3m 10s master passed
+1 💚 shadedjars 8m 59s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 58s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
+1 💚 mvninstall 4m 8s the patch passed
+1 💚 compile 3m 9s the patch passed
+1 💚 javac 3m 9s the patch passed
+1 💚 shadedjars 9m 4s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 58s the patch passed
_ Other Tests _
+1 💚 unit 0m 47s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 35s hbase-client in the patch passed.
-1 ❌ unit 223m 20s hbase-server in the patch failed.
+1 💚 unit 7m 58s hbase-thrift in the patch passed.
+1 💚 unit 7m 45s hbase-shell in the patch passed.
282m 23s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-1.8.0_282-b08
unit https://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 Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/testReport/
Max. process+thread count 3610 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/2/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 37s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 prototool 0m 0s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for branch
+1 💚 mvninstall 4m 56s master passed
+1 💚 compile 8m 33s master passed
+1 💚 checkstyle 3m 15s master passed
+1 💚 spotbugs 9m 52s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
+1 💚 mvninstall 4m 24s the patch passed
+1 💚 compile 8m 49s the patch passed
+1 💚 cc 8m 49s the patch passed
+1 💚 javac 8m 49s the patch passed
-0 ⚠️ checkstyle 0m 39s hbase-client: The patch generated 14 new + 277 unchanged - 0 fixed = 291 total (was 277)
-0 ⚠️ checkstyle 1m 21s hbase-server: The patch generated 10 new + 176 unchanged - 1 fixed = 186 total (was 177)
-0 ⚠️ checkstyle 0m 50s hbase-thrift: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
-0 ⚠️ rubocop 0m 31s The patch generated 50 new + 686 unchanged - 4 fixed = 736 total (was 690)
-0 ⚠️ whitespace 0m 0s The 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 💚 hadoopcheck 23m 12s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚 hbaseprotoc 3m 38s the patch passed
+1 💚 spotbugs 10m 33s the patch passed
_ Other Tests _
+1 💚 asflicense 1m 5s The patch does not generate ASF License warnings.
95m 12s
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://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
checkstyle https://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
checkstyle https://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
rubocop https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/artifact/yetus-general-check/output/diff-patch-rubocop.txt
whitespace https://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 count 96 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 0s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for branch
+1 💚 mvninstall 4m 48s master passed
+1 💚 compile 3m 52s master passed
+1 💚 shadedjars 9m 4s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 32s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 4m 46s the patch passed
+1 💚 compile 3m 54s the patch passed
+1 💚 javac 3m 54s the patch passed
+1 💚 shadedjars 9m 6s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 31s the patch passed
_ Other Tests _
+1 💚 unit 1m 7s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 45s hbase-client in the patch passed.
+1 💚 unit 208m 35s hbase-server in the patch passed.
+1 💚 unit 7m 43s hbase-thrift in the patch passed.
+1 💚 unit 7m 3s hbase-shell in the patch passed.
271m 5s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/testReport/
Max. process+thread count 3381 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 13s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for branch
+1 💚 mvninstall 4m 7s master passed
+1 💚 compile 3m 9s master passed
+1 💚 shadedjars 9m 2s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 58s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 4m 6s the patch passed
+1 💚 compile 3m 10s the patch passed
+1 💚 javac 3m 10s the patch passed
+1 💚 shadedjars 9m 5s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 55s the patch passed
_ Other Tests _
+1 💚 unit 0m 48s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 33s hbase-client in the patch passed.
+1 💚 unit 214m 18s hbase-server in the patch passed.
+1 💚 unit 7m 54s hbase-thrift in the patch passed.
+1 💚 unit 7m 45s hbase-shell in the patch passed.
273m 19s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 735bcf8
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/testReport/
Max. process+thread count 3741 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/3/console
versions git=2.17.1 maven=3.6.3
Powered by Apache 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
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
Contributor Author

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

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 29s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 prototool 0m 0s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 28s Maven dependency ordering for branch
+1 💚 mvninstall 4m 31s master passed
+1 💚 compile 9m 11s master passed
+1 💚 checkstyle 3m 11s master passed
+1 💚 spotbugs 11m 48s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 18s Maven dependency ordering for patch
+1 💚 mvninstall 5m 13s the patch passed
+1 💚 compile 8m 54s the patch passed
+1 💚 cc 8m 54s the patch passed
+1 💚 javac 8m 54s the patch passed
-0 ⚠️ checkstyle 0m 34s hbase-client: The patch generated 14 new + 277 unchanged - 0 fixed = 291 total (was 277)
-0 ⚠️ checkstyle 1m 21s hbase-server: The patch generated 10 new + 176 unchanged - 1 fixed = 186 total (was 177)
-0 ⚠️ checkstyle 0m 46s hbase-thrift: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
-0 ⚠️ rubocop 0m 36s The patch generated 50 new + 686 unchanged - 4 fixed = 736 total (was 690)
-0 ⚠️ whitespace 0m 0s The 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 💚 hadoopcheck 22m 57s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚 hbaseprotoc 3m 47s the patch passed
+1 💚 spotbugs 11m 45s the patch passed
_ Other Tests _
+1 💚 asflicense 1m 0s The patch does not generate ASF License warnings.
99m 11s
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool rubocop
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 07c0eee
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://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
checkstyle https://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
checkstyle https://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
rubocop https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/artifact/yetus-general-check/output/diff-patch-rubocop.txt
whitespace https://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 count 96 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 38s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 19s Maven dependency ordering for branch
+1 💚 mvninstall 4m 23s master passed
+1 💚 compile 4m 7s master passed
+1 💚 shadedjars 10m 42s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 16s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for patch
+1 💚 mvninstall 4m 49s the patch passed
+1 💚 compile 3m 54s the patch passed
+1 💚 javac 3m 54s the patch passed
+1 💚 shadedjars 11m 6s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 21s the patch passed
_ Other Tests _
+1 💚 unit 0m 58s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 34s hbase-client in the patch passed.
+1 💚 unit 162m 12s hbase-server in the patch passed.
+1 💚 unit 6m 40s hbase-thrift in the patch passed.
+1 💚 unit 7m 15s hbase-shell in the patch passed.
226m 45s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 07c0eee
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/testReport/
Max. process+thread count 5083 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 0s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for branch
+1 💚 mvninstall 5m 1s master passed
+1 💚 compile 3m 59s master passed
+1 💚 shadedjars 9m 8s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 36s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 4m 44s the patch passed
+1 💚 compile 3m 59s the patch passed
+1 💚 javac 3m 59s the patch passed
+1 💚 shadedjars 9m 5s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 32s the patch passed
_ Other Tests _
+1 💚 unit 1m 4s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 43s hbase-client in the patch passed.
+1 💚 unit 203m 8s hbase-server in the patch passed.
+1 💚 unit 7m 35s hbase-thrift in the patch passed.
+1 💚 unit 6m 59s hbase-shell in the patch passed.
265m 48s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit shadedjars compile
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 07c0eee
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/testReport/
Max. process+thread count 3519 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift hbase-shell U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3630/4/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Member

@joshelser joshelser left a comment

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

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
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
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
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants