Skip to content

HBASE-27222 Purge FutureReturnValueIgnored warnings from error prone - #4634

Merged
Apache9 merged 1 commit into
apache:masterfrom
Apache9:HBASE-27222
Jul 26, 2022
Merged

HBASE-27222 Purge FutureReturnValueIgnored warnings from error prone#4634
Apache9 merged 1 commit into
apache:masterfrom
Apache9:HBASE-27222

Conversation

@Apache9

Copy link
Copy Markdown
Contributor

No description provided.

@Apache9
Apache9 requested a review from apurtellJuly 19, 2022 16:19
@Apache9Apache9 self-assigned this Jul 19, 2022
@Apache9

Copy link
Copy Markdown
ContributorAuthor

There are still 4 warnings left. For the two metrics one, I do not find a better way to fix, as the scheduleWithFixedRate will return a ScheduledFuture, seems the way is to store it somewhere and cancel it when stop?

And in AssignmentManager, the problem is moveAsync just returns a Future, not a CompletableFuture, so there is no way to register a listener to log the errors if any. We can fix this in the future to let it returns a CompletableFuture, but better in another issue.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 6sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall2m 25smaster passed
+1 💚compile5m 12smaster passed
+1 💚checkstyle1m 46smaster passed
+1 💚spotless0m 46sbranch has no errors when running spotless:check.
+1 💚spotbugs4m 16smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall2m 14sthe patch passed
+1 💚compile5m 7sthe patch passed
+1 💚javac0m 32shbase-common in the patch passed.
-0 ⚠️javac0m 38shbase-client generated 3 new + 119 unchanged - 4 fixed = 122 total (was 123)
+1 💚javac0m 20shbase-zookeeper generated 0 new + 47 unchanged - 1 fixed = 47 total (was 48)
+1 💚javac0m 20shbase-asyncfs generated 0 new + 4 unchanged - 20 fixed = 4 total (was 24)
+1 💚javac2m 12shbase-server in the patch passed.
-0 ⚠️javac0m 27shbase-it generated 2 new + 101 unchanged - 2 fixed = 103 total (was 103)
+1 💚javac0m 24shbase-examples generated 0 new + 33 unchanged - 4 fixed = 33 total (was 37)
+1 💚javac0m 14shbase-external-blockcache generated 0 new + 1 unchanged - 1 fixed = 1 total (was 2)
-0 ⚠️checkstyle0m 15shbase-common: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚checkstyle0m 15sThe patch passed checkstyle in hbase-client
+1 💚checkstyle0m 8sThe patch passed checkstyle in hbase-zookeeper
+1 💚checkstyle0m 9sThe patch passed checkstyle in hbase-asyncfs
+1 💚checkstyle0m 31sThe patch passed checkstyle in hbase-server
+1 💚checkstyle0m 10sThe patch passed checkstyle in hbase-it
-0 ⚠️checkstyle0m 10shbase-examples: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚checkstyle0m 7shbase-external-blockcache: The patch generated 0 new + 0 unchanged - 14 fixed = 0 total (was 14)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck11m 41sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotless0m 43spatch has no errors when running spotless:check.
+1 💚spotbugs5m 8sthe patch passed
_ Other Tests _
+1 💚asflicense1m 14sThe patch does not generate ASF License warnings.
50m 11s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4634
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
unameLinux 4e9d756b359c 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 075b305
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/artifact/yetus-general-check/output/diff-compile-javac-hbase-client.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/artifact/yetus-general-check/output/diff-compile-javac-hbase-it.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-common.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-examples.txt
Max. process+thread count69 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 21sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall2m 46smaster passed
+1 💚compile2m 46smaster passed
+1 💚shadedjars3m 45sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 6smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 38sthe patch passed
+1 💚compile2m 47sthe patch passed
+1 💚javac2m 47sthe patch passed
+1 💚shadedjars3m 43spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 4sthe patch passed
_ Other Tests _
+1 💚unit1m 45shbase-common in the patch passed.
+1 💚unit1m 21shbase-client in the patch passed.
+1 💚unit0m 39shbase-zookeeper in the patch passed.
+1 💚unit1m 2shbase-asyncfs in the patch passed.
+1 💚unit203m 19shbase-server in the patch passed.
+1 💚unit0m 51shbase-it in the patch passed.
+1 💚unit2m 15shbase-examples in the patch passed.
+1 💚unit0m 25shbase-external-blockcache in the patch passed.
237m 46s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4634
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 202e7dc77e2b 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 075b305
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/testReport/
Max. process+thread count2590 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 6sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for branch
+1 💚mvninstall2m 34smaster passed
+1 💚compile2m 21smaster passed
+1 💚shadedjars3m 51sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 41smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall2m 25sthe patch passed
+1 💚compile2m 23sthe patch passed
+1 💚javac2m 23sthe patch passed
+1 💚shadedjars3m 52spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 41sthe patch passed
_ Other Tests _
+1 💚unit1m 34shbase-common in the patch passed.
+1 💚unit1m 2shbase-client in the patch passed.
+1 💚unit0m 36shbase-zookeeper in the patch passed.
+1 💚unit1m 21shbase-asyncfs in the patch passed.
+1 💚unit219m 27shbase-server in the patch passed.
+1 💚unit0m 46shbase-it in the patch passed.
+1 💚unit1m 55shbase-examples in the patch passed.
+1 💚unit0m 16shbase-external-blockcache in the patch passed.
251m 22s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4634
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 70504eaab9db 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 075b305
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/testReport/
Max. process+thread count2569 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 6sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for branch
+1 💚mvninstall3m 52smaster passed
+1 💚compile9m 5smaster passed
+1 💚checkstyle3m 32smaster passed
+1 💚spotless1m 15sbranch has no errors when running spotless:check.
+1 💚spotbugs7m 36smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 35sthe patch passed
+1 💚compile9m 8sthe patch passed
+1 💚javac1m 0shbase-common in the patch passed.
-0 ⚠️javac1m 8shbase-client generated 3 new + 119 unchanged - 4 fixed = 122 total (was 123)
+1 💚javac0m 37shbase-zookeeper generated 0 new + 47 unchanged - 1 fixed = 47 total (was 48)
+1 💚javac0m 42shbase-asyncfs generated 0 new + 4 unchanged - 20 fixed = 4 total (was 24)
+1 💚javac3m 35shbase-server in the patch passed.
-0 ⚠️javac0m 51shbase-it generated 2 new + 101 unchanged - 2 fixed = 103 total (was 103)
+1 💚javac0m 47shbase-examples generated 0 new + 33 unchanged - 4 fixed = 33 total (was 37)
+1 💚javac0m 28shbase-external-blockcache generated 0 new + 1 unchanged - 1 fixed = 1 total (was 2)
-0 ⚠️checkstyle0m 26shbase-common: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚checkstyle0m 30sThe patch passed checkstyle in hbase-client
+1 💚checkstyle0m 18sThe patch passed checkstyle in hbase-zookeeper
+1 💚checkstyle0m 19sThe patch passed checkstyle in hbase-asyncfs
+1 💚checkstyle0m 53sThe patch passed checkstyle in hbase-server
+1 💚checkstyle0m 21sThe patch passed checkstyle in hbase-it
+1 💚checkstyle0m 20sThe patch passed checkstyle in hbase-examples
+1 💚checkstyle0m 17shbase-external-blockcache: The patch generated 0 new + 0 unchanged - 14 fixed = 0 total (was 14)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck17m 59sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotless1m 16spatch has no errors when running spotless:check.
+1 💚spotbugs9m 6sthe patch passed
_ Other Tests _
+1 💚asflicense2m 33sThe patch does not generate ASF License warnings.
85m 47s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4634
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
unameLinux 09640feba55a 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / da27a67
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/2/artifact/yetus-general-check/output/diff-compile-javac-hbase-client.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/2/artifact/yetus-general-check/output/diff-compile-javac-hbase-it.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-common.txt
Max. process+thread count64 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/2/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 7sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall2m 26smaster passed
+1 💚compile5m 10smaster passed
+1 💚checkstyle1m 44smaster passed
+1 💚spotless0m 45sbranch has no errors when running spotless:check.
+1 💚spotbugs4m 11smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚mvninstall2m 16sthe patch passed
+1 💚compile5m 5sthe patch passed
+1 💚javac0m 32shbase-common in the patch passed.
-0 ⚠️javac0m 38shbase-client generated 3 new + 119 unchanged - 4 fixed = 122 total (was 123)
+1 💚javac0m 19shbase-zookeeper generated 0 new + 47 unchanged - 1 fixed = 47 total (was 48)
+1 💚javac0m 20shbase-asyncfs generated 0 new + 4 unchanged - 20 fixed = 4 total (was 24)
+1 💚javac2m 11shbase-server in the patch passed.
-0 ⚠️javac0m 27shbase-it generated 2 new + 101 unchanged - 2 fixed = 103 total (was 103)
+1 💚javac0m 24shbase-examples generated 0 new + 33 unchanged - 4 fixed = 33 total (was 37)
+1 💚javac0m 14shbase-external-blockcache generated 0 new + 1 unchanged - 1 fixed = 1 total (was 2)
+1 💚checkstyle0m 13sThe patch passed checkstyle in hbase-common
+1 💚checkstyle0m 16sThe patch passed checkstyle in hbase-client
+1 💚checkstyle0m 9sThe patch passed checkstyle in hbase-zookeeper
+1 💚checkstyle0m 8sThe patch passed checkstyle in hbase-asyncfs
+1 💚checkstyle0m 31sThe patch passed checkstyle in hbase-server
+1 💚checkstyle0m 10sThe patch passed checkstyle in hbase-it
+1 💚checkstyle0m 9sThe patch passed checkstyle in hbase-examples
+1 💚checkstyle0m 8shbase-external-blockcache: The patch generated 0 new + 0 unchanged - 14 fixed = 0 total (was 14)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck11m 26sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotless0m 41spatch has no errors when running spotless:check.
+1 💚spotbugs5m 5sthe patch passed
_ Other Tests _
+1 💚asflicense1m 12sThe patch does not generate ASF License warnings.
49m 22s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4634
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
unameLinux 3ad619b14df8 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / da27a67
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/3/artifact/yetus-general-check/output/diff-compile-javac-hbase-client.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/3/artifact/yetus-general-check/output/diff-compile-javac-hbase-it.txt
Max. process+thread count64 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/3/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 42sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for branch
+1 💚mvninstall2m 24smaster passed
+1 💚compile4m 42smaster passed
+1 💚checkstyle1m 23smaster passed
+1 💚spotless0m 42sbranch has no errors when running spotless:check.
+1 💚spotbugs3m 44smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
+1 💚mvninstall2m 11sthe patch passed
+1 💚compile4m 43sthe patch passed
+1 💚javac0m 28shbase-common in the patch passed.
-0 ⚠️javac0m 35shbase-client generated 3 new + 119 unchanged - 4 fixed = 122 total (was 123)
+1 💚javac0m 17shbase-zookeeper generated 0 new + 47 unchanged - 1 fixed = 47 total (was 48)
+1 💚javac0m 16shbase-asyncfs generated 0 new + 4 unchanged - 20 fixed = 4 total (was 24)
+1 💚javac2m 10shbase-server in the patch passed.
-0 ⚠️javac0m 25shbase-it generated 2 new + 101 unchanged - 2 fixed = 103 total (was 103)
+1 💚javac0m 20shbase-examples generated 0 new + 33 unchanged - 4 fixed = 33 total (was 37)
+1 💚javac0m 12shbase-external-blockcache generated 0 new + 1 unchanged - 1 fixed = 1 total (was 2)
+1 💚checkstyle0m 10sThe patch passed checkstyle in hbase-common
+1 💚checkstyle0m 13sThe patch passed checkstyle in hbase-client
+1 💚checkstyle0m 6sThe patch passed checkstyle in hbase-zookeeper
+1 💚checkstyle0m 6sThe patch passed checkstyle in hbase-asyncfs
+1 💚checkstyle0m 27sThe patch passed checkstyle in hbase-server
+1 💚checkstyle0m 7sThe patch passed checkstyle in hbase-it
+1 💚checkstyle0m 7sThe patch passed checkstyle in hbase-examples
+1 💚checkstyle0m 6shbase-external-blockcache: The patch generated 0 new + 0 unchanged - 14 fixed = 0 total (was 14)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck11m 44sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotless0m 40spatch has no errors when running spotless:check.
+1 💚spotbugs4m 33sthe patch passed
_ Other Tests _
+1 💚asflicense0m 54sThe patch does not generate ASF License warnings.
46m 36s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4634
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
unameLinux 1557903f629e 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 75a05b5
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/artifact/yetus-general-check/output/diff-compile-javac-hbase-client.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/artifact/yetus-general-check/output/diff-compile-javac-hbase-it.txt
Max. process+thread count60 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 8sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for branch
+1 💚mvninstall3m 38smaster passed
+1 💚compile3m 26smaster passed
+1 💚shadedjars5m 11sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 11smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall3m 31sthe patch passed
+1 💚compile2m 48sthe patch passed
+1 💚javac2m 48sthe patch passed
+1 💚shadedjars4m 39spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 58sthe patch passed
_ Other Tests _
+1 💚unit2m 2shbase-common in the patch passed.
+1 💚unit1m 44shbase-client in the patch passed.
+1 💚unit0m 43shbase-zookeeper in the patch passed.
+1 💚unit1m 15shbase-asyncfs in the patch passed.
+1 💚unit222m 5shbase-server in the patch passed.
+1 💚unit1m 26shbase-it in the patch passed.
+1 💚unit1m 46shbase-examples in the patch passed.
+1 💚unit0m 19shbase-external-blockcache in the patch passed.
263m 21s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4634
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 6b00c1fc4d8a 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 75a05b5
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/testReport/
Max. process+thread count2696 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 39sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for branch
+1 💚mvninstall3m 35smaster passed
+1 💚compile3m 27smaster passed
+1 💚shadedjars5m 21sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 35smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚mvninstall3m 23sthe patch passed
+1 💚compile4m 6sthe patch passed
+1 💚javac4m 6sthe patch passed
+1 💚shadedjars4m 59spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 1sthe patch passed
_ Other Tests _
+1 💚unit1m 50shbase-common in the patch passed.
+1 💚unit1m 21shbase-client in the patch passed.
+1 💚unit0m 44shbase-zookeeper in the patch passed.
+1 💚unit1m 42shbase-asyncfs in the patch passed.
-1 ❌unit260m 6shbase-server in the patch failed.
+1 💚unit0m 54shbase-it in the patch passed.
+1 💚unit2m 15shbase-examples in the patch passed.
+1 💚unit0m 21shbase-external-blockcache in the patch passed.
303m 19s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4634
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 769eb687eefd 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 75a05b5
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/testReport/
Max. process+thread count2470 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/4/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

Ping @apurtell .

PTAL at this one?

Thanks.

Promise<Void> saslPromise = channel.eventLoop().newPromise();
trySaslNegotiate(conf, channel, dnInfo, timeoutMs, client, accessToken, saslPromise);
saslPromise.addListener(new FutureListener<Void>() {
addListener(saslPromise, new FutureListener<Void>() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"Promoting" the listener makes sense.

state = State.BROKEN;
failWaitingAckQueue(channel, errorSupplier);
datanodeInfoMap.keySet().forEach(ChannelOutboundInvoker::close);
datanodeInfoMap.keySet().forEach(NettyFutureUtils::safeClose);

@apurtellapurtellJul 25, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like the approach here where new NettyFutureUtils encapsulates the await/cleanup details, (edit: and suppresses warnings in one place, mostly.)

Comment threadhbase-common/src/main/java/org/apache/hadoop/hbase/util/FutureUtils.java Outdated
* thrown from the code that completes the future, and this method will catch all the exception
* thrown from the {@code listener} to catch possible code bugs.
* <p/>
* And the error phone check will always report FutureReturnValueIgnored because every method in

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sounds good.

@apurtell

Copy link
Copy Markdown
Contributor

@Apache9 Apologies for the delay, lgtm with minor comments

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 41sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for branch
+1 💚mvninstall2m 12smaster passed
+1 💚compile4m 49smaster passed
+1 💚checkstyle1m 22smaster passed
+1 💚spotless0m 40sbranch has no errors when running spotless:check.
+1 💚spotbugs3m 46smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚mvninstall2m 9sthe patch passed
+1 💚compile4m 49sthe patch passed
+1 💚javac0m 28shbase-common in the patch passed.
-0 ⚠️javac0m 35shbase-client generated 3 new + 119 unchanged - 4 fixed = 122 total (was 123)
+1 💚javac0m 16shbase-zookeeper generated 0 new + 47 unchanged - 1 fixed = 47 total (was 48)
+1 💚javac0m 17shbase-asyncfs generated 0 new + 4 unchanged - 20 fixed = 4 total (was 24)
+1 💚javac2m 15shbase-server in the patch passed.
-0 ⚠️javac0m 25shbase-it generated 2 new + 101 unchanged - 2 fixed = 103 total (was 103)
+1 💚javac0m 21shbase-examples generated 0 new + 33 unchanged - 4 fixed = 33 total (was 37)
+1 💚javac0m 12shbase-external-blockcache generated 0 new + 1 unchanged - 1 fixed = 1 total (was 2)
+1 💚checkstyle0m 11sThe patch passed checkstyle in hbase-common
+1 💚checkstyle0m 12sThe patch passed checkstyle in hbase-client
+1 💚checkstyle0m 6sThe patch passed checkstyle in hbase-zookeeper
+1 💚checkstyle0m 6sThe patch passed checkstyle in hbase-asyncfs
+1 💚checkstyle0m 28sThe patch passed checkstyle in hbase-server
+1 💚checkstyle0m 7sThe patch passed checkstyle in hbase-it
+1 💚checkstyle0m 7sThe patch passed checkstyle in hbase-examples
+1 💚checkstyle0m 5shbase-external-blockcache: The patch generated 0 new + 0 unchanged - 14 fixed = 0 total (was 14)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck11m 50sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotless0m 40spatch has no errors when running spotless:check.
+1 💚spotbugs4m 37sthe patch passed
_ Other Tests _
+1 💚asflicense0m 53sThe patch does not generate ASF License warnings.
47m 0s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4634
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
unameLinux 480fdea410b0 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / ebd1891
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/artifact/yetus-general-check/output/diff-compile-javac-hbase-client.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/artifact/yetus-general-check/output/diff-compile-javac-hbase-it.txt
Max. process+thread count64 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 4sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for branch
+1 💚mvninstall2m 14smaster passed
+1 💚compile2m 30smaster passed
+1 💚shadedjars3m 46sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 54smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 17sthe patch passed
+1 💚compile2m 29sthe patch passed
+1 💚javac2m 29sthe patch passed
+1 💚shadedjars3m 45spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 54sthe patch passed
_ Other Tests _
+1 💚unit1m 31shbase-common in the patch passed.
+1 💚unit1m 1shbase-client in the patch passed.
+1 💚unit0m 38shbase-zookeeper in the patch passed.
+1 💚unit1m 20shbase-asyncfs in the patch passed.
+1 💚unit210m 16shbase-server in the patch passed.
+1 💚unit0m 53shbase-it in the patch passed.
+1 💚unit1m 55shbase-examples in the patch passed.
+1 💚unit0m 25shbase-external-blockcache in the patch passed.
243m 0s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4634
Optional Testsjavac javadoc unit shadedjars compile
unameLinux d3ce882e78a2 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / ebd1891
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/testReport/
Max. process+thread count2601 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 13sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 27sMaven dependency ordering for branch
+1 💚mvninstall4m 8smaster passed
+1 💚compile3m 44smaster passed
+1 💚shadedjars5m 57sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 19smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for patch
+1 💚mvninstall3m 51sthe patch passed
+1 💚compile3m 38sthe patch passed
+1 💚javac3m 38sthe patch passed
+1 💚shadedjars5m 14spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 44sthe patch passed
_ Other Tests _
+1 💚unit2m 22shbase-common in the patch passed.
+1 💚unit2m 8shbase-client in the patch passed.
+1 💚unit0m 51shbase-zookeeper in the patch passed.
+1 💚unit1m 20shbase-asyncfs in the patch passed.
-1 ❌unit206m 10shbase-server in the patch failed.
+1 💚unit0m 50shbase-it in the patch passed.
+1 💚unit1m 39shbase-examples in the patch passed.
+1 💚unit0m 18shbase-external-blockcache in the patch passed.
253m 7s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4634
Optional Testsjavac javadoc unit shadedjars compile
unameLinux b34808d895f9 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / ebd1891
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/testReport/
Max. process+thread count2631 (vs. ulimit of 30000)
modulesC: hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-it hbase-examples hbase-external-blockcache U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4634/5/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

The failed UT seems not related. Let me merge.

@Apache9
Apache9 merged commit 8b091c4 into apache:masterJul 26, 2022
Apache9 added a commit that referenced this pull request Jul 26, 2022
…4634)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
(cherry picked from commit 8b091c4)
Apache9 added a commit that referenced this pull request Jul 26, 2022
…4634)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
(cherry picked from commit 8b091c4)
vinayakphegde pushed a commit to vinayakphegde/hbase that referenced this pull request Apr 4, 2024
…pache#4634)
This change backports the changes from Jira: HBASE-27222.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
(cherry picked from commit 8b091c4)
(cherry picked from commit 84e7cdb)
Change-Id: Ibd7bbaab22dcec49a25ad61ec43c7eac3365e902
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@Apache9@Apache-HBase@apurtell