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-27657: Connection and Request Attributes #5326

Merged
merged 12 commits into from
Jul 24, 2023

Conversation

rmdmattingly
Copy link
Contributor

@rmdmattingly rmdmattingly commented Jul 17, 2023

Here's an initial design doc

I'm hoping to get feedback on the design proposed above.

Currently we have the ability to set Operation attributes, via Get.setAttribute, etc. It would be useful to be able to set attributes at the request and connection level.

These levels can result in less duplication. For example, send some attributes once per connection instead of for every one of the millions of requests a connection might send. Or send once for the request, instead of duplicating on every operation in a multi request.

Additionally, the Connection and RequestHeader are more globally available on the server side. Both can be accessed via RpcServer.getCurrentCall(), which is useful in various integration points – coprocessors, custom queues, quotas, slow log, etc. Operation attributes are harder to access because you need to parse the raw Message into the appropriate type to get access to the getter.

This PR introduces two new avenues for providing attributes:

  • passing in a map of connection attributes to ConnectionFactory#createConnection
  • passing in a request attribute to TableBuilder#setRequestAttribute

We've also added end-to-end tests for both systems.

cc @bbeaudreault @hgromer @saijmo @eab148 @bozzkar

@rmdmattingly rmdmattingly force-pushed the HBASE-27657-custom-rpc-controller branch from 4e771a4 to ee3eef8 Compare July 18, 2023 14:39
@rmdmattingly rmdmattingly marked this pull request as ready for review July 18, 2023 14:39
@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 2m 57s master passed
+1 💚 compile 4m 43s master passed
+1 💚 checkstyle 1m 32s master passed
+1 💚 spotless 0m 44s branch has no errors when running spotless:check.
+1 💚 spotbugs 5m 46s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 1m 16s root in the patch failed.
-1 ❌ compile 0m 14s hbase-server in the patch failed.
-1 ❌ compile 0m 17s hbase-thrift in the patch failed.
-0 ⚠️ cc 0m 14s hbase-server in the patch failed.
-0 ⚠️ cc 0m 17s hbase-thrift in the patch failed.
-0 ⚠️ javac 0m 14s hbase-server in the patch failed.
-0 ⚠️ javac 0m 17s hbase-thrift in the patch failed.
-0 ⚠️ checkstyle 0m 33s hbase-server: The patch generated 3 new + 0 unchanged - 0 fixed = 3 total (was 0)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
-1 ❌ hadoopcheck 1m 21s The patch causes 10 errors with Hadoop v3.2.4.
-1 ❌ hadoopcheck 2m 47s The patch causes 10 errors with Hadoop v3.3.5.
-1 ❌ hbaseprotoc 0m 13s hbase-server in the patch failed.
-1 ❌ hbaseprotoc 0m 19s hbase-thrift in the patch failed.
+1 💚 spotless 0m 40s patch has no errors when running spotless:check.
-1 ❌ spotbugs 0m 13s hbase-server in the patch failed.
-1 ❌ spotbugs 0m 15s hbase-thrift in the patch failed.
_ Other Tests _
+1 💚 asflicense 0m 33s The patch does not generate ASF License warnings.
33m 10s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile cc hbaseprotoc prototool
uname Linux de890ab8f4a0 5.4.0-1101-aws #109~18.04.1-Ubuntu SMP Mon Apr 24 20:40:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
mvninstall https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-compile-hbase-thrift.txt
cc https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
cc https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-compile-hbase-thrift.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-compile-hbase-thrift.txt
checkstyle https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
hadoopcheck https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-javac-3.2.4.txt
hadoopcheck https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-javac-3.3.5.txt
hbaseprotoc https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-hbaseprotoc-hbase-server.txt
hbaseprotoc https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-hbaseprotoc-hbase-thrift.txt
spotbugs https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-spotbugs-hbase-server.txt
spotbugs https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-general-check/output/patch-spotbugs-hbase-thrift.txt
Max. process+thread count 82 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/console
versions git=2.34.1 maven=3.8.6 spotbugs=4.7.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 41s 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 12s Maven dependency ordering for branch
+1 💚 mvninstall 2m 28s master passed
+1 💚 compile 2m 6s master passed
+1 💚 shadedjars 4m 31s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 24s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
-1 ❌ mvninstall 1m 8s root in the patch failed.
-1 ❌ compile 0m 14s hbase-server in the patch failed.
-1 ❌ compile 0m 20s hbase-thrift in the patch failed.
-0 ⚠️ javac 0m 14s hbase-server in the patch failed.
-0 ⚠️ javac 0m 20s hbase-thrift in the patch failed.
-1 ❌ shadedjars 3m 6s patch has 10 errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 22s the patch passed
_ Other Tests _
+1 💚 unit 0m 31s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 22s hbase-client in the patch passed.
-1 ❌ unit 0m 16s hbase-server in the patch failed.
+1 💚 unit 12m 24s hbase-mapreduce in the patch passed.
-1 ❌ unit 0m 20s hbase-thrift in the patch failed.
35m 31s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux 345a1fca21d0 5.4.0-152-generic #169-Ubuntu SMP Tue Jun 6 22:23:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Temurin-1.8.0_352-b08
mvninstall https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk8-hadoop3-check/output/patch-mvninstall-root.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-server.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-thrift.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-server.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-thrift.txt
shadedjars https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk8-hadoop3-check/output/patch-shadedjars.txt
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-thrift.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/testReport/
Max. process+thread count 2561 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@rmdmattingly
Copy link
Contributor Author

I'll carve out some time to dig into the 👆 failures today

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 30s 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 11s Maven dependency ordering for branch
+1 💚 mvninstall 2m 48s master passed
+1 💚 compile 2m 29s master passed
+1 💚 shadedjars 4m 41s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 39s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
-1 ❌ mvninstall 1m 20s root in the patch failed.
-1 ❌ compile 0m 15s hbase-server in the patch failed.
-1 ❌ compile 0m 22s hbase-thrift in the patch failed.
-0 ⚠️ javac 0m 15s hbase-server in the patch failed.
-0 ⚠️ javac 0m 22s hbase-thrift in the patch failed.
-1 ❌ shadedjars 3m 7s patch has 10 errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 37s the patch passed
_ Other Tests _
+1 💚 unit 0m 38s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 28s hbase-client in the patch passed.
-1 ❌ unit 0m 16s hbase-server in the patch failed.
+1 💚 unit 13m 47s hbase-mapreduce in the patch passed.
-1 ❌ unit 0m 22s hbase-thrift in the patch failed.
38m 48s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux 67df0982d924 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
mvninstall https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk11-hadoop3-check/output/patch-mvninstall-root.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-server.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-thrift.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-server.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-thrift.txt
shadedjars https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-thrift.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/testReport/
Max. process+thread count 2337 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/1/console
versions git=2.34.1 maven=3.8.6
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 25s 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 10s Maven dependency ordering for branch
+1 💚 mvninstall 2m 41s master passed
+1 💚 compile 4m 43s master passed
+1 💚 checkstyle 1m 26s master passed
+1 💚 spotless 0m 41s branch has no errors when running spotless:check.
+1 💚 spotbugs 5m 39s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
+1 💚 mvninstall 2m 40s the patch passed
+1 💚 compile 4m 43s the patch passed
+1 💚 cc 4m 43s the patch passed
+1 💚 javac 4m 43s the patch passed
+1 💚 checkstyle 1m 33s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 10m 13s Patch does not cause any errors with Hadoop 3.2.4 3.3.5.
+1 💚 hbaseprotoc 1m 45s the patch passed
+1 💚 spotless 0m 40s patch has no errors when running spotless:check.
-1 ❌ spotbugs 1m 4s hbase-thrift generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
+1 💚 asflicense 0m 35s The patch does not generate ASF License warnings.
51m 29s
Reason Tests
FindBugs module:hbase-thrift
There is an apparent infinite recursive loop in org.apache.hadoop.hbase.thrift2.client.ThriftConnection$1.setRequestAttributes(Map) At ThriftConnection.java:recursive loop in org.apache.hadoop.hbase.thrift2.client.ThriftConnection$1.setRequestAttributes(Map) At ThriftConnection.java:[line 327]
Return value of setRequestAttributes(Map) ignored, but method has no side effect At ThriftConnection.java:but method has no side effect At ThriftConnection.java:[line 327]
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile cc hbaseprotoc prototool
uname Linux 3d15a4c4072a 5.4.0-1101-aws #109~18.04.1-Ubuntu SMP Mon Apr 24 20:40:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
spotbugs https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/2/artifact/yetus-general-check/output/new-spotbugs-hbase-thrift.html
Max. process+thread count 81 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/2/console
versions git=2.34.1 maven=3.8.6 spotbugs=4.7.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@bbeaudreault bbeaudreault left a comment

Choose a reason for hiding this comment

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

looks pretty straightforward. I had a few small comments.

@bbeaudreault
Copy link
Contributor

Also, can you fix the spotbugs warning?

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 28s 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 11s Maven dependency ordering for branch
+1 💚 mvninstall 2m 35s master passed
+1 💚 compile 2m 25s master passed
+1 💚 shadedjars 4m 38s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 37s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 2m 35s the patch passed
+1 💚 compile 2m 27s the patch passed
+1 💚 javac 2m 27s the patch passed
+1 💚 shadedjars 4m 37s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 35s the patch passed
_ Other Tests _
+1 💚 unit 0m 39s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 29s hbase-client in the patch passed.
+1 💚 unit 218m 49s hbase-server in the patch passed.
+1 💚 unit 13m 57s hbase-mapreduce in the patch passed.
+1 💚 unit 5m 15s hbase-thrift in the patch passed.
268m 55s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux 5ddd55a8c10d 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/2/testReport/
Max. process+thread count 4200 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/2/console
versions git=2.34.1 maven=3.8.6
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 41s 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 12s Maven dependency ordering for branch
+1 💚 mvninstall 2m 10s master passed
+1 💚 compile 2m 4s master passed
+1 💚 shadedjars 4m 30s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 23s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 2m 15s the patch passed
+1 💚 compile 2m 6s the patch passed
+1 💚 javac 2m 6s the patch passed
+1 💚 shadedjars 4m 30s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 23s the patch passed
_ Other Tests _
+1 💚 unit 0m 31s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 21s hbase-client in the patch passed.
+1 💚 unit 229m 44s hbase-server in the patch passed.
+1 💚 unit 12m 45s hbase-mapreduce in the patch passed.
+1 💚 unit 5m 9s hbase-thrift in the patch passed.
276m 24s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux eaa4d37a9938 5.4.0-152-generic #169-Ubuntu SMP Tue Jun 6 22:23:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Temurin-1.8.0_352-b08
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/2/testReport/
Max. process+thread count 4404 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/2/console
versions git=2.34.1 maven=3.8.6
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 25s 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 13s Maven dependency ordering for branch
+1 💚 mvninstall 2m 58s master passed
+1 💚 compile 4m 42s master passed
+1 💚 checkstyle 1m 34s master passed
+1 💚 spotless 0m 43s branch has no errors when running spotless:check.
+1 💚 spotbugs 5m 49s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
+1 💚 mvninstall 2m 40s the patch passed
+1 💚 compile 4m 41s the patch passed
+1 💚 cc 4m 41s the patch passed
+1 💚 javac 4m 41s the patch passed
+1 💚 checkstyle 1m 32s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 10m 21s Patch does not cause any errors with Hadoop 3.2.4 3.3.5.
+1 💚 hbaseprotoc 1m 45s the patch passed
+1 💚 spotless 0m 41s patch has no errors when running spotless:check.
+1 💚 spotbugs 6m 28s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 37s The patch does not generate ASF License warnings.
52m 17s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile cc hbaseprotoc prototool
uname Linux 7243332513c6 5.4.0-1101-aws #109~18.04.1-Ubuntu SMP Mon Apr 24 20:40:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
Max. process+thread count 82 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/3/console
versions git=2.34.1 maven=3.8.6 spotbugs=4.7.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.
-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 11s Maven dependency ordering for branch
+1 💚 mvninstall 2m 30s master passed
+1 💚 compile 2m 27s master passed
+1 💚 shadedjars 4m 37s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 36s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for patch
+1 💚 mvninstall 2m 35s the patch passed
+1 💚 compile 2m 25s the patch passed
+1 💚 javac 2m 25s the patch passed
+1 💚 shadedjars 4m 40s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 37s the patch passed
_ Other Tests _
+1 💚 unit 0m 37s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 28s hbase-client in the patch passed.
+1 💚 unit 220m 4s hbase-server in the patch passed.
+1 💚 unit 13m 53s hbase-mapreduce in the patch passed.
+1 💚 unit 5m 17s hbase-thrift in the patch passed.
269m 51s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux d25217b75557 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/3/testReport/
Max. process+thread count 4401 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/3/console
versions git=2.34.1 maven=3.8.6
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 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 11s Maven dependency ordering for branch
+1 💚 mvninstall 2m 14s master passed
+1 💚 compile 2m 6s master passed
+1 💚 shadedjars 4m 30s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 24s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 2m 17s the patch passed
+1 💚 compile 2m 7s the patch passed
+1 💚 javac 2m 7s the patch passed
+1 💚 shadedjars 4m 35s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 23s the patch passed
_ Other Tests _
+1 💚 unit 0m 31s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 21s hbase-client in the patch passed.
+1 💚 unit 235m 45s hbase-server in the patch passed.
+1 💚 unit 12m 45s hbase-mapreduce in the patch passed.
+1 💚 unit 5m 8s hbase-thrift in the patch passed.
282m 48s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux ccaabe6f02d8 5.4.0-152-generic #169-Ubuntu SMP Tue Jun 6 22:23:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Temurin-1.8.0_352-b08
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/3/testReport/
Max. process+thread count 4384 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/3/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

/**
* Sets the map of request attributes
*/
AsyncTableBuilder<C> setRequestAttributes(Map<String, byte[]> requestAttributes);
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about setRequestAttribute(String, byte[]) so that one can more fluently create their Table/AsyncTable if desired? One can chain together ImmutableMap.builder().add().add().build, but not everyone might have it and it's a bit more verbose.

Copy link
Contributor

Choose a reason for hiding this comment

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

We prob could leave all the *Caller classes as you have them since they are internal and post-build, but for the TableBuilder/AsyncTableBuilder it might be nice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I'd be happy to add that. Just to clarify, we should probably support both, right? And calling setRA after addRA would implicitly overwrite the individual additions?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't have a strong opinion on whether we should continue to support setRequestAttributes (with an s). Do you think that has a particular value as is?

If we do support both, then yea we need to figure out the interplay. I agree that calling set after add would overwrite, but what about add after set? One could imagine someone calling set with an immutable map, so we'd probably have to copy it in order to ensure add operations work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

One could imagine someone calling set with an immutable map, so we'd probably have to copy it in order to ensure add operations work.

Yeah that's a good point.

I don't have a strong opinion on whether we should continue to support setRequestAttributes (with an s). Do you think that has a particular value as is?

I don't feel particularly strongly, but it seems plausible that someone will have a map of requests pre-constructed, particularly if they have several attributes to pass, and that it would be nicer to pass it in than need to iterate calls to addRA

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we provide a setRequestAttribute(String, byte[]) method then do we also want to support unsetting a key?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just pushed a change which allows for the two methods setRequestAttribute and setRequestAttributes. The plural will implicitly overwrite anything already submitted. It also enforces the implementation of map that we're working with

Copy link
Contributor

Choose a reason for hiding this comment

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

it may be worth simplifying this to all just be additive. I was thinking about it and this is just a temporary builder. To one of your earlier comments, I don't think we need to support removal of attributes and here it's hard to imagine the case for someone to do something like:

getTableBuilder(table)
  .setRequestAttribute("foo", "bar")
  .setRequestAttribute("abc", "def")
  .setRequestAttributes(Map.of("foo", "asdfa")) // actually forget those, i want to just use this
  .build()

I could see needing to support replacement/removal/etc if we allowed modifying the longer-lived Table objects. I know some builders out there have like a BuiltObject.toBuilder() method, in which case maybe it'd be good to support these things for evolving Tables over time. But our builders are pretty simple and one-off, so not necessary.

So trying to think about KISS here, and to me that means simply additive. I could even imagine changing the plural method to be named setAllRequestAttributes so its maybe a little clearer (along with javadoc) that we're just iterating and calling set on each. If anything, I could imagine a more useful bit of complexity to be supporting typed set methods, like setRequestAttribute(String, String) which does the byte[] conversion for you, along with other primitives. But we can skip that for now :)

One other note -- many people will not use request attributes. Let's default the requestAttributes map to null, and only instantiate a hashmap if one of these setters is called.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, I think you need to update the ThriftConnection to override the new method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 good points, I'll update this morning

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 25s 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 18s Maven dependency ordering for branch
+1 💚 mvninstall 2m 44s master passed
+1 💚 compile 4m 46s master passed
+1 💚 checkstyle 1m 35s master passed
+1 💚 spotless 0m 41s branch has no errors when running spotless:check.
+1 💚 spotbugs 5m 40s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
-1 ❌ mvninstall 2m 40s root in the patch failed.
-1 ❌ compile 0m 18s hbase-thrift in the patch failed.
-0 ⚠️ cc 0m 18s hbase-thrift in the patch failed.
-0 ⚠️ javac 0m 18s hbase-thrift in the patch failed.
+1 💚 checkstyle 1m 30s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
-1 ❌ hadoopcheck 1m 59s The patch causes 14 errors with Hadoop v3.2.4.
-1 ❌ hadoopcheck 4m 2s The patch causes 14 errors with Hadoop v3.3.5.
-1 ❌ hbaseprotoc 0m 15s hbase-thrift in the patch failed.
+1 💚 spotless 0m 40s patch has no errors when running spotless:check.
-1 ❌ spotbugs 0m 16s hbase-thrift in the patch failed.
_ Other Tests _
+1 💚 asflicense 0m 34s The patch does not generate ASF License warnings.
39m 39s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile cc hbaseprotoc prototool
uname Linux 4dddc5a1fc70 5.4.0-1101-aws #109~18.04.1-Ubuntu SMP Mon Apr 24 20:40:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
mvninstall https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-general-check/output/patch-compile-hbase-thrift.txt
cc https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-general-check/output/patch-compile-hbase-thrift.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-general-check/output/patch-compile-hbase-thrift.txt
hadoopcheck https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-general-check/output/patch-javac-3.2.4.txt
hadoopcheck https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-general-check/output/patch-javac-3.3.5.txt
hbaseprotoc https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-general-check/output/patch-hbaseprotoc-hbase-thrift.txt
spotbugs https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-general-check/output/patch-spotbugs-hbase-thrift.txt
Max. process+thread count 83 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/console
versions git=2.34.1 maven=3.8.6 spotbugs=4.7.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.
-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 13s Maven dependency ordering for branch
+1 💚 mvninstall 2m 36s master passed
+1 💚 compile 2m 26s master passed
+1 💚 shadedjars 4m 40s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 34s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for patch
-1 ❌ mvninstall 2m 34s root in the patch failed.
-1 ❌ compile 0m 23s hbase-thrift in the patch failed.
-0 ⚠️ javac 0m 23s hbase-thrift in the patch failed.
+1 💚 shadedjars 4m 37s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 37s the patch passed
_ Other Tests _
+1 💚 unit 0m 38s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 27s hbase-client in the patch passed.
+1 💚 unit 219m 40s hbase-server in the patch passed.
+1 💚 unit 13m 54s hbase-mapreduce in the patch passed.
-1 ❌ unit 0m 36s hbase-thrift in the patch failed.
264m 43s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux 645984335de5 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
mvninstall https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk11-hadoop3-check/output/patch-mvninstall-root.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-thrift.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-thrift.txt
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-thrift.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/testReport/
Max. process+thread count 4184 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/console
versions git=2.34.1 maven=3.8.6
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.
-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 2m 13s master passed
+1 💚 compile 2m 8s master passed
+1 💚 shadedjars 4m 31s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 21s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
-1 ❌ mvninstall 2m 17s root in the patch failed.
-1 ❌ compile 0m 20s hbase-thrift in the patch failed.
-0 ⚠️ javac 0m 20s hbase-thrift in the patch failed.
+1 💚 shadedjars 4m 30s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 23s the patch passed
_ Other Tests _
+1 💚 unit 0m 31s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 22s hbase-client in the patch passed.
+1 💚 unit 229m 38s hbase-server in the patch passed.
+1 💚 unit 12m 38s hbase-mapreduce in the patch passed.
-1 ❌ unit 0m 32s hbase-thrift in the patch failed.
271m 14s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux 49a0d8861a33 5.4.0-152-generic #169-Ubuntu SMP Tue Jun 6 22:23:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Temurin-1.8.0_352-b08
mvninstall https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk8-hadoop3-check/output/patch-mvninstall-root.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-thrift.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-thrift.txt
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-thrift.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/testReport/
Max. process+thread count 4442 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/4/console
versions git=2.34.1 maven=3.8.6
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 26s 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 18s Maven dependency ordering for branch
+1 💚 mvninstall 2m 38s master passed
+1 💚 compile 4m 41s master passed
+1 💚 checkstyle 1m 29s master passed
+1 💚 spotless 0m 41s branch has no errors when running spotless:check.
+1 💚 spotbugs 5m 40s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
-1 ❌ mvninstall 1m 30s root in the patch failed.
-1 ❌ compile 1m 16s hbase-server in the patch failed.
-0 ⚠️ cc 1m 16s hbase-server in the patch failed.
-0 ⚠️ javac 1m 16s hbase-server in the patch failed.
+1 💚 checkstyle 1m 26s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
-1 ❌ hadoopcheck 1m 43s The patch causes 36 errors with Hadoop v3.2.4.
-1 ❌ hadoopcheck 3m 25s The patch causes 36 errors with Hadoop v3.3.5.
-1 ❌ hbaseprotoc 0m 31s hbase-server in the patch failed.
+1 💚 spotless 0m 40s patch has no errors when running spotless:check.
-1 ❌ spotbugs 0m 30s hbase-server in the patch failed.
_ Other Tests _
+1 💚 asflicense 0m 32s The patch does not generate ASF License warnings.
36m 14s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile cc hbaseprotoc prototool
uname Linux 2ff604a35cd5 5.4.0-1101-aws #109~18.04.1-Ubuntu SMP Mon Apr 24 20:40:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
mvninstall https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
cc https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-general-check/output/patch-compile-hbase-server.txt
hadoopcheck https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-general-check/output/patch-javac-3.2.4.txt
hadoopcheck https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-general-check/output/patch-javac-3.3.5.txt
hbaseprotoc https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-general-check/output/patch-hbaseprotoc-hbase-server.txt
spotbugs https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-general-check/output/patch-spotbugs-hbase-server.txt
Max. process+thread count 81 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/console
versions git=2.34.1 maven=3.8.6 spotbugs=4.7.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 38s 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 11s Maven dependency ordering for branch
+1 💚 mvninstall 2m 25s master passed
+1 💚 compile 2m 8s master passed
+1 💚 shadedjars 4m 32s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 26s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
-1 ❌ mvninstall 1m 15s root in the patch failed.
-1 ❌ compile 0m 37s hbase-server in the patch failed.
-0 ⚠️ javac 0m 37s hbase-server in the patch failed.
-1 ❌ shadedjars 3m 23s patch has 36 errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 24s the patch passed
_ Other Tests _
+1 💚 unit 0m 30s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 22s hbase-client in the patch passed.
-1 ❌ unit 0m 37s hbase-server in the patch failed.
+1 💚 unit 12m 33s hbase-mapreduce in the patch passed.
+1 💚 unit 4m 58s hbase-thrift in the patch passed.
41m 26s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux 7ac2b0217131 5.4.0-152-generic #169-Ubuntu SMP Tue Jun 6 22:23:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Temurin-1.8.0_352-b08
mvninstall https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk8-hadoop3-check/output/patch-mvninstall-root.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-server.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-hbase-server.txt
shadedjars https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk8-hadoop3-check/output/patch-shadedjars.txt
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/testReport/
Max. process+thread count 2560 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/console
versions git=2.34.1 maven=3.8.6
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 29s 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 2m 33s master passed
+1 💚 compile 2m 29s master passed
+1 💚 shadedjars 4m 39s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 38s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
-1 ❌ mvninstall 1m 32s root in the patch failed.
-1 ❌ compile 0m 44s hbase-server in the patch failed.
-0 ⚠️ javac 0m 44s hbase-server in the patch failed.
-1 ❌ shadedjars 3m 31s patch has 36 errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 37s the patch passed
_ Other Tests _
+1 💚 unit 0m 38s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 32s hbase-client in the patch passed.
-1 ❌ unit 0m 43s hbase-server in the patch failed.
+1 💚 unit 13m 41s hbase-mapreduce in the patch passed.
+1 💚 unit 5m 2s hbase-thrift in the patch passed.
45m 19s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux 5382daa2adf5 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
mvninstall https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk11-hadoop3-check/output/patch-mvninstall-root.txt
compile https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-server.txt
javac https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-server.txt
shadedjars https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/testReport/
Max. process+thread count 2342 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/5/console
versions git=2.34.1 maven=3.8.6
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 26s 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 18s Maven dependency ordering for branch
+1 💚 mvninstall 2m 40s master passed
+1 💚 compile 4m 42s master passed
+1 💚 checkstyle 1m 30s master passed
+1 💚 spotless 0m 40s branch has no errors when running spotless:check.
+1 💚 spotbugs 5m 42s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
+1 💚 mvninstall 2m 40s the patch passed
+1 💚 compile 4m 42s the patch passed
+1 💚 cc 4m 42s the patch passed
+1 💚 javac 4m 42s the patch passed
+1 💚 checkstyle 1m 33s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 10m 10s Patch does not cause any errors with Hadoop 3.2.4 3.3.5.
+1 💚 hbaseprotoc 1m 43s the patch passed
+1 💚 spotless 0m 41s patch has no errors when running spotless:check.
+1 💚 spotbugs 6m 23s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 36s The patch does not generate ASF License warnings.
51m 43s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile cc hbaseprotoc prototool
uname Linux cd407e1879b7 5.4.0-1101-aws #109~18.04.1-Ubuntu SMP Mon Apr 24 20:40:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
Max. process+thread count 80 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/6/console
versions git=2.34.1 maven=3.8.6 spotbugs=4.7.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 30s Docker mode activated.
-0 ⚠️ yetus 0m 2s 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 11s Maven dependency ordering for branch
+1 💚 mvninstall 2m 35s master passed
+1 💚 compile 2m 25s master passed
+1 💚 shadedjars 4m 36s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 38s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 2m 36s the patch passed
+1 💚 compile 2m 26s the patch passed
+1 💚 javac 2m 26s the patch passed
+1 💚 shadedjars 4m 38s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 37s the patch passed
_ Other Tests _
+1 💚 unit 0m 37s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 28s hbase-client in the patch passed.
+1 💚 unit 218m 3s hbase-server in the patch passed.
+1 💚 unit 13m 53s hbase-mapreduce in the patch passed.
+1 💚 unit 5m 14s hbase-thrift in the patch passed.
267m 34s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/6/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux a10bd0471edf 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Eclipse Adoptium-11.0.17+8
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/6/testReport/
Max. process+thread count 4206 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/6/console
versions git=2.34.1 maven=3.8.6
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 35s 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 11s Maven dependency ordering for branch
+1 💚 mvninstall 2m 12s master passed
+1 💚 compile 2m 7s master passed
+1 💚 shadedjars 4m 30s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 23s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for patch
+1 💚 mvninstall 2m 14s the patch passed
+1 💚 compile 2m 9s the patch passed
+1 💚 javac 2m 9s the patch passed
+1 💚 shadedjars 4m 31s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 1m 24s the patch passed
_ Other Tests _
+1 💚 unit 0m 31s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 24s hbase-client in the patch passed.
-1 ❌ unit 234m 27s hbase-server in the patch failed.
+1 💚 unit 15m 55s hbase-mapreduce in the patch passed.
+1 💚 unit 5m 16s hbase-thrift in the patch passed.
285m 19s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/6/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #5326
JIRA Issue HBASE-27657
Optional Tests javac javadoc unit shadedjars compile
uname Linux 7d3b89b2485d 5.4.0-152-generic #169-Ubuntu SMP Tue Jun 6 22:23:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 2c92e6f
Default Java Temurin-1.8.0_352-b08
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/6/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/6/testReport/
Max. process+thread count 4490 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-mapreduce hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5326/6/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@rmdmattingly
Copy link
Contributor Author

The test failure seems unrelated

@bbeaudreault bbeaudreault merged commit 83ea0da into apache:master Jul 24, 2023
@bbeaudreault bbeaudreault deleted the HBASE-27657-custom-rpc-controller branch July 24, 2023 16:53
bbeaudreault pushed a commit that referenced this pull request Jul 24, 2023
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