Skip to content

HBASE-26899 Run spotless:apply - #4312

Closed
Apache9 wants to merge 2 commits into
apache:masterfrom
Apache9:HBASE-26899
Closed

HBASE-26899 Run spotless:apply#4312
Apache9 wants to merge 2 commits into
apache:masterfrom
Apache9:HBASE-26899

Conversation

@Apache9

Copy link
Copy Markdown
Contributor

No description provided.

@Apache9Apache9 self-assigned this Apr 1, 2022
@Apache9

Copy link
Copy Markdown
ContributorAuthor

I downloaded the newest eclipse, imported our formatter file, did some modifications, and then exported it and replaced our current formatter file.

What I changed are:

  1. Change all the indent from default to 1, I saw a lot of checkstyle warnings which indicates that we indent more than expected.
  2. Do not format file header. It is just the ASF license header, which do not need to be formatted.
  3. As @ndimiduk point out, on method declarations, function calls and enum declarations we should wrap more, usually on every element if we need to wrap. So I changed the method declaration and function calls to 'wrap all elements, expect the first element if not necessary', and for function calls I also enabled 'Indent from the base expression's first line'. And for enum, I just use 'wrap all elements, every element on a new line'.
  4. Remove 'Indent wrapped param/throws descriptions' as it seems useless.

Let's see the style check result.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 44sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 28sNo 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 20sMaven dependency ordering for branch
+1 💚mvninstall2m 25smaster passed
+1 💚compile5m 52smaster passed
+1 💚checkstyle2m 54smaster passed
+1 💚spotbugs20m 37smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall2m 7sthe patch passed
+1 💚compile5m 57sthe patch passed
-0 ⚠️javac5m 57sroot generated 97 new + 1375 unchanged - 97 fixed = 1472 total (was 1472)
-0 ⚠️checkstyle2m 10sroot: The patch generated 1124 new + 3478 unchanged - 5094 fixed = 4602 total (was 8572)
-0 ⚠️whitespace0m 0sThe patch has 131 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚xml0m 38sThe patch has no ill-formed XML file.
+1 💚hadoopcheck14m 25sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs31m 2sthe patch passed
_ Other Tests _
+1 💚asflicense6m 22sThe patch does not generate ASF License warnings.
135m 20s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4312
Optional Testsdupname asflicense xml javac hadoopcheck compile spotbugs hbaseanti checkstyle
unameLinux e4ab4c262631 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 / f51e579
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/1/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/1/artifact/yetus-general-check/output/diff-checkstyle-root.txt
whitespacehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/1/artifact/yetus-general-check/output/whitespace-eol.txt
Max. process+thread count139 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/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.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

Let me check the while space issue.

In my local test, eclipse will generate whitespace ending lines when formatting the 'pre' tag, but if we already have no whitespace endling blank lines before and after the 'pre' tag, it will not adding new whitespaces to the line.

And let me also check the indent error of checkstyle.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

More changes:

  1. Add a format section in spotless to include all text files, specify trimTrailingWhitespace. But for java files, though I place the formats section after the java section, it will be executed before the java formatter, so the 'pre' tag will still generate whitespaces, you need to run spotless:apply the second time to trim them.
  2. It should be a bug in the eclipse formatter as sometimes, if the condition statement in the 'if' condition section is wrapped, the indent of the following lines maybe wrong, like this:
if (func(a,
b) {
...
} else if (func(a,
b) {
...
}

Which is really annoying. So I change the config of 'Parentheses positions' for most elements to 'separate lines if wrapped'. In this way the indent will be correct. The code is like this

if (shortCondition) {
doSometing();
}
if (
longCondition(" 1 ")
&& longCondition(" 2 ")
&& longCondition(" 2 ")
) {
doSometing();
}
while (shortCondition) {
doSometing();
}
do {
doSometing();
} while (
longCondition(" 1 ")
&& longCondition(" 2 ")
&& longCondition(" 2 ")
);
if (mixedCondition1) {
doSometing();
}
if (mixedCondition2) {
doSometing();
}
if (mixedCondition3) {
doSometing();
}

For me I think it is kinda acceptable.

Let's see the result.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 49sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 32sNo case conflicting files found.
+0 🆗shelldocs0m 32sShelldocs was not available.
+0 🆗markdownlint0m 32smarkdownlint was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 21sMaven dependency ordering for branch
+1 💚mvninstall3m 14smaster passed
+1 💚compile7m 6smaster passed
+1 💚checkstyle3m 17smaster passed
+1 💚mvnsite12m 44smaster passed
+0 🆗refguide1m 50sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotbugs25m 35smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 23sthe patch passed
+1 💚compile7m 0sthe patch passed
-0 ⚠️javac7m 0sroot generated 104 new + 1362 unchanged - 110 fixed = 1466 total (was 1472)
-0 ⚠️checkstyle2m 2sroot: The patch generated 769 new + 3336 unchanged - 5280 fixed = 4105 total (was 8616)
-0 ⚠️mvnsite2m 8sroot in the patch failed.
+1 💚pylint0m 54sThe patch generated 0 new + 1122 unchanged - 3 fixed = 1122 total (was 1125)
+1 💚shellcheck0m 2sThere were no new shellcheck issues.
-0 ⚠️whitespace0m 0sThe patch 30 line(s) with tabs.
+1 💚xml0m 44sThe patch has no ill-formed XML file.
+0 🆗refguide1m 49spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚hadoopcheck13m 1sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
-1 ❌spotbugs1m 33shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 ❌spotbugs8m 54sroot generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚asflicense6m 7sThe patch does not generate ASF License warnings.
170m 16s
ReasonTests
FindBugsmodule:hbase-server
Return value of java.util.concurrent.CountDownLatch.await(long, TimeUnit) ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:[line 160]
FindBugsmodule:root
Return value of java.util.concurrent.CountDownLatch.await(long, TimeUnit) ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:[line 160]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4312
Optional Testsdupname asflicense shellcheck shelldocs xml markdownlint javac hadoopcheck compile spotbugs hbaseanti checkstyle refguide pylint mvnsite
unameLinux 1583bf519794 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 / f51e579
Default JavaAdoptOpenJDK-1.8.0_282-b08
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/2/yetus-general-check/output/branch-site/book.html
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-general-check/output/diff-checkstyle-root.txt
mvnsitehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-general-check/output/patch-mvnsite-root.txt
whitespacehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-general-check/output/whitespace-tabs.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/2/yetus-general-check/output/patch-site/book.html
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-general-check/output/new-spotbugs-hbase-server.html
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-general-check/output/new-spotbugs-root.html
Max. process+thread count139 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6 spotbugs=4.2.2 pylint=2.4.4
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 37sDocker mode activated.
-0 ⚠️yetus2m 18sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 23sMaven dependency ordering for branch
+1 💚mvninstall3m 50smaster passed
+1 💚compile2m 29smaster passed
+1 💚shadedjars4m 42sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc12m 43smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 19sthe patch passed
+1 💚compile2m 11sthe patch passed
+1 💚javac2m 11sthe patch passed
+1 💚shadedjars4m 34spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc16m 44sthe patch passed
_ Other Tests _
-1 ❌unit291m 58sroot in the patch failed.
379m 8s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 905b1243f304 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 / f51e579
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/testReport/
Max. process+thread count2415 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 29sDocker mode activated.
-0 ⚠️yetus2m 6sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for branch
+1 💚mvninstall2m 56smaster passed
+1 💚compile2m 17smaster passed
+1 💚shadedjars4m 46sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc11m 19smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 29sthe patch passed
+1 💚compile1m 56sthe patch passed
+1 💚javac1m 56sthe patch passed
+1 💚shadedjars4m 54spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc10m 43sthe patch passed
_ Other Tests _
-1 ❌unit400m 55sroot in the patch failed.
476m 42s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 84075a07c7e6 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 / f51e579
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/testReport/
Max. process+thread count2326 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/2/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec3m 28sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 28sNo case conflicting files found.
+0 🆗shelldocs0m 28sShelldocs was not available.
+0 🆗markdownlint0m 28smarkdownlint was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 1sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for branch
+1 💚mvninstall2m 5smaster passed
+1 💚compile5m 49smaster passed
+1 💚checkstyle2m 47smaster passed
-0 ⚠️mvnsite2m 56sroot in master failed.
+0 🆗refguide1m 40sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotbugs21m 34smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
+1 💚mvninstall2m 5sthe patch passed
+1 💚compile5m 49sthe patch passed
-0 ⚠️javac5m 49sroot generated 92 new + 1380 unchanged - 92 fixed = 1472 total (was 1472)
-0 ⚠️checkstyle1m 45sroot: The patch generated 708 new + 3338 unchanged - 5278 fixed = 4046 total (was 8616)
-0 ⚠️mvnsite1m 56sroot in the patch failed.
+1 💚pylint0m 51sThe patch generated 0 new + 1122 unchanged - 3 fixed = 1122 total (was 1125)
+1 💚shellcheck0m 2sThere were no new shellcheck issues.
-0 ⚠️whitespace0m 1sThe patch 30 line(s) with tabs.
+1 💚xml0m 39sThe patch has no ill-formed XML file.
+0 🆗refguide1m 36spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚hadoopcheck11m 36sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
-1 ❌spotbugs1m 21shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 ❌spotbugs7m 11sroot generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚asflicense5m 23sThe patch does not generate ASF License warnings.
141m 33s
ReasonTests
FindBugsmodule:hbase-server
Return value of java.util.concurrent.CountDownLatch.await(long, TimeUnit) ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:[line 160]
FindBugsmodule:root
Return value of java.util.concurrent.CountDownLatch.await(long, TimeUnit) ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:[line 160]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4312
Optional Testsdupname asflicense shellcheck shelldocs xml markdownlint javac hadoopcheck compile spotbugs hbaseanti checkstyle refguide pylint mvnsite
unameLinux 1eb8797d17d5 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 / f51e579
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvnsitehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-general-check/output/branch-mvnsite-root.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/3/yetus-general-check/output/branch-site/book.html
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-general-check/output/diff-checkstyle-root.txt
mvnsitehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-general-check/output/patch-mvnsite-root.txt
whitespacehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-general-check/output/whitespace-tabs.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/3/yetus-general-check/output/patch-site/book.html
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-general-check/output/new-spotbugs-hbase-server.html
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-general-check/output/new-spotbugs-root.html
Max. process+thread count140 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6 spotbugs=4.2.2 pylint=2.4.4
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec3m 18sDocker mode activated.
-0 ⚠️yetus2m 51sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 24sMaven dependency ordering for branch
+1 💚mvninstall3m 54smaster passed
+1 💚compile2m 47smaster passed
+1 💚shadedjars5m 11sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc14m 30smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 42sthe patch passed
+1 💚compile2m 48sthe patch passed
+1 💚javac2m 48sthe patch passed
+1 💚shadedjars5m 20spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc14m 53sthe patch passed
_ Other Tests _
-1 ❌unit216m 2sroot in the patch failed.
311m 17s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 345dfb0d1d39 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 / f51e579
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/testReport/
Max. process+thread count2382 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/3/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

Seems the mvnsite result is not very stable. On master branch it could also fail.

The spotbugs problem is not introduced by the reformat. It says we miss to check the return value of await but looking at the code, I think the code is correct, we do not need to check the return value. Let me think if there is a better way instead of just suppress the warning.

And there are still some indentation problem. Let me take a look on them.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 37sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 28sNo case conflicting files found.
+0 🆗shelldocs0m 28sShelldocs was not available.
+0 🆗markdownlint0m 28smarkdownlint was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 28sMaven dependency ordering for branch
+1 💚mvninstall2m 7smaster passed
+1 💚compile5m 49smaster passed
+1 💚checkstyle2m 47smaster passed
-0 ⚠️mvnsite1m 53sroot in master failed.
+0 🆗refguide1m 36sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotbugs21m 29smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
+1 💚mvninstall2m 11sthe patch passed
+1 💚compile5m 48sthe patch passed
-0 ⚠️javac5m 48sroot generated 81 new + 1391 unchanged - 81 fixed = 1472 total (was 1472)
-0 ⚠️checkstyle1m 44sroot: The patch generated 713 new + 3341 unchanged - 5275 fixed = 4054 total (was 8616)
+1 💚mvnsite7m 57sthe patch passed
+1 💚pylint0m 50sThe patch generated 0 new + 1122 unchanged - 3 fixed = 1122 total (was 1125)
+1 💚shellcheck0m 2sThere were no new shellcheck issues.
-0 ⚠️whitespace0m 1sThe patch 30 line(s) with tabs.
+1 💚xml0m 38sThe patch has no ill-formed XML file.
+0 🆗refguide1m 34spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚hadoopcheck11m 36sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs24m 37sthe patch passed
_ Other Tests _
+1 💚asflicense5m 24sThe patch does not generate ASF License warnings.
141m 9s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4312
Optional Testsdupname asflicense shellcheck shelldocs xml markdownlint javac hadoopcheck compile spotbugs hbaseanti checkstyle refguide pylint mvnsite
unameLinux d308c373f041 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 / f51e579
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvnsitehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/artifact/yetus-general-check/output/branch-mvnsite-root.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/4/yetus-general-check/output/branch-site/book.html
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/artifact/yetus-general-check/output/diff-checkstyle-root.txt
whitespacehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/artifact/yetus-general-check/output/whitespace-tabs.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/4/yetus-general-check/output/patch-site/book.html
Max. process+thread count138 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6 spotbugs=4.2.2 pylint=2.4.4
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 11sDocker mode activated.
-0 ⚠️yetus2m 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 22sMaven dependency ordering for branch
+1 💚mvninstall2m 38smaster passed
+1 💚compile1m 52smaster passed
+1 💚shadedjars3m 43sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc11m 21smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall2m 39sthe patch passed
+1 💚compile1m 52sthe patch passed
+1 💚javac1m 52sthe patch passed
+1 💚shadedjars3m 40spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc11m 24sthe patch passed
_ Other Tests _
+1 💚unit249m 21sroot in the patch passed.
327m 6s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux bd7b35ee5233 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 / f51e579
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/testReport/
Max. process+thread count4963 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/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

There is a problem that the spotless plugin does not support exclude, for example, the thrift generated files.

Let me see how to deal with this.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 37sDocker mode activated.
-0 ⚠️yetus2m 55sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 24sMaven dependency ordering for branch
+1 💚mvninstall3m 19smaster passed
+1 💚compile2m 25smaster passed
+1 💚shadedjars5m 20sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc12m 45smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for patch
+1 💚mvninstall3m 19sthe patch passed
+1 💚compile2m 24sthe patch passed
+1 💚javac2m 24sthe patch passed
+1 💚shadedjars5m 21spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc12m 37sthe patch passed
_ Other Tests _
-1 ❌unit374m 51sroot in the patch failed.
464m 15s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 44eb58736ded 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 / f51e579
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/4/testReport/
Max. process+thread count2423 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/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 🆗reexec0m 0sDocker mode activated.
-1 ❌patch0m 8s#4312 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
SubsystemReport/Notes
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/console
versionsgit=2.25.1
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 36sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 28sNo case conflicting files found.
+0 🆗shelldocs0m 28sShelldocs was not available.
+0 🆗markdownlint0m 28smarkdownlint was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall2m 6smaster passed
+1 💚compile5m 44smaster passed
+1 💚checkstyle2m 46smaster passed
-0 ⚠️mvnsite1m 55sroot in master failed.
+0 🆗refguide1m 34sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotbugs21m 17smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall2m 3sthe patch passed
+1 💚compile5m 50sthe patch passed
-0 ⚠️javac5m 50sroot generated 64 new + 1408 unchanged - 64 fixed = 1472 total (was 1472)
-0 ⚠️checkstyle2m 12sroot: The patch generated 2555 new + 3678 unchanged - 4942 fixed = 6233 total (was 8620)
+1 💚mvnsite8m 2sthe patch passed
+1 💚pylint0m 50sThe patch generated 0 new + 1122 unchanged - 3 fixed = 1122 total (was 1125)
+1 💚shellcheck0m 2sThere were no new shellcheck issues.
-0 ⚠️whitespace0m 0sThe patch 30 line(s) with tabs.
+1 💚xml0m 38sThe patch has no ill-formed XML file.
+0 🆗refguide1m 33spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚hadoopcheck11m 31sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs24m 37sthe patch passed
_ Other Tests _
+1 💚asflicense5m 23sThe patch does not generate ASF License warnings.
140m 13s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4312
Optional Testsdupname asflicense shellcheck shelldocs xml markdownlint javac hadoopcheck compile spotbugs hbaseanti checkstyle refguide pylint mvnsite
unameLinux 938f39517b0d 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 / f51e579
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvnsitehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/artifact/yetus-general-check/output/branch-mvnsite-root.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/5/yetus-general-check/output/branch-site/book.html
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/artifact/yetus-general-check/output/diff-checkstyle-root.txt
whitespacehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/artifact/yetus-general-check/output/whitespace-tabs.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/5/yetus-general-check/output/patch-site/book.html
Max. process+thread count140 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6 spotbugs=4.2.2 pylint=2.4.4
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

OK, good, seems worked.

Why we still touch the generated files and package-info.java is because in the formats section I do not exclude them from removing trailing whitespaces.

@ndimiduk@apurtell PTAL whether this is enough to do a full reformat. And I've already filed HBASE-26915 for addressing some nasty style issues which should be done before landing this PR.

Thanks.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 17sDocker mode activated.
-0 ⚠️yetus2m 36sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 22sMaven dependency ordering for branch
+1 💚mvninstall3m 36smaster passed
+1 💚compile2m 26smaster passed
+1 💚shadedjars4m 38sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc12m 35smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 10sthe patch passed
+1 💚compile2m 12sthe patch passed
+1 💚javac2m 12sthe patch passed
+1 💚shadedjars4m 5spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc12m 2sthe patch passed
_ Other Tests _
-1 ❌unit239m 32sroot in the patch failed.
315m 22s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux fd92cf64741c 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 / f51e579
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/5/testReport/
Max. process+thread count2643 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/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 🆗reexec2m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 28sNo case conflicting files found.
+0 🆗shelldocs0m 28sShelldocs was not available.
+0 🆗markdownlint0m 28smarkdownlint was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall2m 7smaster passed
+1 💚compile5m 49smaster passed
+1 💚checkstyle2m 47smaster passed
-0 ⚠️mvnsite1m 53sroot in master failed.
+0 🆗refguide1m 37sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotbugs21m 44smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
+1 💚mvninstall2m 5sthe patch passed
+1 💚compile5m 49sthe patch passed
-0 ⚠️javac5m 49sroot generated 64 new + 1408 unchanged - 64 fixed = 1472 total (was 1472)
-0 ⚠️checkstyle2m 16sroot: The patch generated 2531 new + 3673 unchanged - 4920 fixed = 6204 total (was 8593)
+1 💚mvnsite8m 3sthe patch passed
+1 💚pylint0m 50sThe patch generated 0 new + 1122 unchanged - 3 fixed = 1122 total (was 1125)
+1 💚shellcheck0m 2sThere were no new shellcheck issues.
-0 ⚠️whitespace0m 0sThe patch 30 line(s) with tabs.
+1 💚xml0m 39sThe patch has no ill-formed XML file.
+0 🆗refguide1m 33spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚hadoopcheck11m 38sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs24m 22sthe patch passed
_ Other Tests _
+1 💚asflicense5m 23sThe patch does not generate ASF License warnings.
138m 16s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4312
Optional Testsdupname asflicense shellcheck shelldocs xml markdownlint javac hadoopcheck compile spotbugs hbaseanti checkstyle refguide pylint mvnsite
unameLinux d2a558cd4d48 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 / f51e579
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvnsitehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/artifact/yetus-general-check/output/branch-mvnsite-root.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/6/yetus-general-check/output/branch-site/book.html
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/artifact/yetus-general-check/output/diff-checkstyle-root.txt
whitespacehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/artifact/yetus-general-check/output/whitespace-tabs.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/6/yetus-general-check/output/patch-site/book.html
Max. process+thread count138 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6 spotbugs=4.2.2 pylint=2.4.4
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec3m 16sDocker mode activated.
-0 ⚠️yetus2m 52sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 24sMaven dependency ordering for branch
+1 💚mvninstall4m 0smaster passed
+1 💚compile2m 52smaster passed
+1 💚shadedjars5m 40sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc12m 53smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall2m 35sthe patch passed
+1 💚compile1m 49sthe patch passed
+1 💚javac1m 49sthe patch passed
+1 💚shadedjars3m 40spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc11m 17sthe patch passed
_ Other Tests _
+1 💚unit250m 12sroot in the patch passed.
332m 36s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux cd6a37583ea1 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 / f51e579
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/testReport/
Max. process+thread count5019 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/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 28sDocker mode activated.
-0 ⚠️yetus2m 59sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for branch
+1 💚mvninstall3m 22smaster passed
+1 💚compile2m 25smaster passed
+1 💚shadedjars5m 21sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc12m 35smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for patch
+1 💚mvninstall3m 20sthe patch passed
+1 💚compile2m 26sthe patch passed
+1 💚javac2m 26sthe patch passed
+1 💚shadedjars5m 27spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc12m 42sthe patch passed
_ Other Tests _
-1 ❌unit372m 42sroot in the patch failed.
456m 33s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 7b72bac1c455 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 / f51e579
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/testReport/
Max. process+thread count2296 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/6/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 0sDocker mode activated.
-1 ❌patch0m 9s#4312 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
SubsystemReport/Notes
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/7/console
versionsgit=2.17.1
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 35sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 30sNo case conflicting files found.
+0 🆗shelldocs0m 30sShelldocs was not available.
+0 🆗markdownlint0m 30smarkdownlint was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for branch
+1 💚mvninstall2m 7smaster passed
+1 💚compile5m 56smaster passed
+1 💚checkstyle2m 53smaster passed
-0 ⚠️mvnsite1m 54sroot in master failed.
+0 🆗refguide1m 39sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotbugs21m 47smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall2m 4sthe patch passed
+1 💚compile6m 0sthe patch passed
-0 ⚠️javac6m 0sroot generated 76 new + 1396 unchanged - 76 fixed = 1472 total (was 1472)
-0 ⚠️checkstyle2m 21sroot: The patch generated 3183 new + 2869 unchanged - 5721 fixed = 6052 total (was 8590)
+1 💚mvnsite8m 11sthe patch passed
+1 💚pylint0m 52sThe patch generated 0 new + 1122 unchanged - 3 fixed = 1122 total (was 1125)
+1 💚shellcheck0m 2sThere were no new shellcheck issues.
-0 ⚠️whitespace0m 0sThe patch 30 line(s) with tabs.
+1 💚xml0m 39sThe patch has no ill-formed XML file.
+0 🆗refguide1m 36spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚hadoopcheck11m 39sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs25m 2sthe patch passed
_ Other Tests _
+1 💚asflicense5m 33sThe patch does not generate ASF License warnings.
143m 20s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/8/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4312
Optional Testsdupname asflicense shellcheck shelldocs xml markdownlint javac hadoopcheck compile spotbugs hbaseanti checkstyle refguide pylint mvnsite
unameLinux 7fda904ed0c1 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 / 3e09e87
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvnsitehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/8/artifact/yetus-general-check/output/branch-mvnsite-root.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/8/yetus-general-check/output/branch-site/book.html
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/8/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/8/artifact/yetus-general-check/output/diff-checkstyle-root.txt
whitespacehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/8/artifact/yetus-general-check/output/whitespace-tabs.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/8/yetus-general-check/output/patch-site/book.html
Max. process+thread count138 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/8/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6 spotbugs=4.2.2 pylint=2.4.4
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

Updated the PR. PTAL again? @bbeaudreault@ndimiduk Thanks~

@apurtell

Copy link
Copy Markdown
Contributor

Spot checked some files, mostly lgtm but I am not a fan of this particular change:

someMethodWithParams(that, causes, the, line, to, become, too, long, and, used, to,
be, wrapped, like, this)

->

someMethodWithParams(that,
causes,
the,
line,
to,
become,
too,
long,
and,
used,
to,
be,
wrapped,
like,
this)

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 5sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 33sNo case conflicting files found.
+0 🆗shelldocs0m 33sShelldocs was not available.
+0 🆗markdownlint0m 33smarkdownlint was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 1sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 42sMaven dependency ordering for branch
+1 💚mvninstall2m 44smaster passed
+1 💚compile7m 19smaster passed
+1 💚checkstyle3m 12smaster passed
-0 ⚠️mvnsite2m 28sroot in master failed.
+0 🆗refguide1m 57sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotbugs27m 0smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall2m 56sthe patch passed
+1 💚compile9m 50sthe patch passed
-0 ⚠️javac9m 50sroot generated 387 new + 987 unchanged - 485 fixed = 1374 total (was 1472)
-0 ⚠️checkstyle2m 10sroot: The patch generated 467 new + 1346 unchanged - 7159 fixed = 1813 total (was 8505)
+1 💚mvnsite11m 41sthe patch passed
+1 💚pylint0m 57sThe patch generated 0 new + 1122 unchanged - 3 fixed = 1122 total (was 1125)
+1 💚shellcheck0m 2sThere were no new shellcheck issues.
-0 ⚠️whitespace0m 1sThe patch 30 line(s) with tabs.
+1 💚xml0m 58sThe patch has no ill-formed XML file.
+0 🆗refguide2m 27spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚hadoopcheck15m 24sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
-1 ❌spotbugs1m 39shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 ❌spotbugs8m 53sroot generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚asflicense6m 20sThe patch does not generate ASF License warnings.
180m 37s
ReasonTests
FindBugsmodule:hbase-server
Return value of java.util.concurrent.CountDownLatch.await(long, TimeUnit) ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:[line 169]
FindBugsmodule:root
Return value of java.util.concurrent.CountDownLatch.await(long, TimeUnit) ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:ignored in org.apache.hadoop.hbase.master.locking.LockManager$MasterLock.tryAcquire(long) At LockManager.java:[line 169]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4312
Optional Testsdupname asflicense shellcheck shelldocs xml markdownlint javac hadoopcheck compile spotbugs hbaseanti checkstyle refguide pylint mvnsite
unameLinux 9c1ef8be1031 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 / 242a194
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvnsitehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-general-check/output/branch-mvnsite-root.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/12/yetus-general-check/output/branch-site/book.html
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-general-check/output/diff-checkstyle-root.txt
whitespacehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-general-check/output/whitespace-tabs.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/12/yetus-general-check/output/patch-site/book.html
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-general-check/output/new-spotbugs-hbase-server.html
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-general-check/output/new-spotbugs-root.html
Max. process+thread count138 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6 spotbugs=4.2.2 pylint=2.4.4
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk

Copy link
Copy Markdown
Member

Spot checked some files, mostly lgtm but I am not a fan of this particular change:

Agreed @apurtell , this is one of our points of discussion earlier in the thread (try to read between the buildbot spam).

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec3m 0sDocker mode activated.
-0 ⚠️yetus2m 8sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 23sMaven dependency ordering for branch
+1 💚mvninstall3m 38smaster passed
+1 💚compile2m 36smaster passed
+1 💚shadedjars4m 21sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc13m 19smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 32sthe patch passed
+1 💚compile2m 14sthe patch passed
+1 💚javac2m 14sthe patch passed
+1 💚shadedjars4m 26spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc15m 45sthe patch passed
_ Other Tests _
-1 ❌unit325m 14sroot in the patch failed.
408m 9s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 73c4ab085f5c 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 / 242a194
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/testReport/
Max. process+thread count4945 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/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 48sDocker mode activated.
-0 ⚠️yetus2m 16sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for branch
+1 💚mvninstall3m 17smaster passed
+1 💚compile2m 6smaster passed
+1 💚shadedjars4m 27sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc11m 1smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 26sthe patch passed
+1 💚compile2m 23sthe patch passed
+1 💚javac2m 23sthe patch passed
+1 💚shadedjars4m 38spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 8shbase-checkstyle in the patch passed.
+1 💚javadoc0m 7shbase-annotations in the patch passed.
+1 💚javadoc0m 7shbase-build-configuration in the patch passed.
+1 💚javadoc0m 9shbase-logging in the patch passed.
+1 💚javadoc0m 8shbase-protocol-shaded in the patch passed.
+1 💚javadoc0m 13shbase-common in the patch passed.
+1 💚javadoc0m 8shbase-metrics-api in the patch passed.
+1 💚javadoc0m 9shbase-metrics in the patch passed.
+1 💚javadoc0m 12shbase-hadoop-compat in the patch passed.
+1 💚javadoc0m 17shbase-client in the patch passed.
+1 💚javadoc0m 10shbase-zookeeper in the patch passed.
+1 💚javadoc0m 10shbase-replication in the patch passed.
+1 💚javadoc0m 9shbase-balancer in the patch passed.
+1 💚javadoc0m 7shbase-resource-bundle in the patch passed.
+1 💚javadoc0m 12shbase-http in the patch passed.
+1 💚javadoc0m 10shbase-asyncfs in the patch passed.
+1 💚javadoc0m 9shbase-procedure in the patch passed.
+1 💚javadoc0m 27shbase-server generated 0 new + 23 unchanged - 1 fixed = 23 total (was 24)
+1 💚javadoc0m 13shbase-mapreduce in the patch passed.
+1 💚javadoc0m 12shbase-testing-util in the patch passed.
+1 💚javadoc0m 28shbase-thrift in the patch passed.
+1 💚javadoc0m 10shbase-shell in the patch passed.
+1 💚javadoc0m 10shbase-endpoint in the patch passed.
+1 💚javadoc0m 14shbase-backup in the patch passed.
+1 💚javadoc0m 13shbase-it in the patch passed.
+1 💚javadoc0m 12shbase-rest in the patch passed.
+1 💚javadoc0m 15shbase-examples in the patch passed.
+1 💚javadoc0m 10shbase-shaded in the patch passed.
+1 💚javadoc0m 8shbase-shaded-client in the patch passed.
+1 💚javadoc0m 8shbase-shaded-client-byo-hadoop in the patch passed.
+1 💚javadoc0m 10shbase-shaded-mapreduce in the patch passed.
+1 💚javadoc0m 10shbase-external-blockcache in the patch passed.
+1 💚javadoc0m 10shbase-hbtop in the patch passed.
+1 💚javadoc0m 14shbase-compression in the patch passed.
+1 💚javadoc0m 12shbase-compression-aircompressor in the patch passed.
+1 💚javadoc0m 12shbase-compression-lz4 in the patch passed.
+1 💚javadoc0m 11shbase-compression-snappy in the patch passed.
+1 💚javadoc0m 10shbase-compression-xz in the patch passed.
+1 💚javadoc0m 11shbase-compression-zstd in the patch passed.
+1 💚javadoc0m 15shbase-assembly in the patch passed.
+1 💚javadoc0m 9shbase-shaded-testing-util in the patch passed.
+1 💚javadoc0m 7shbase-shaded-testing-util-tester in the patch passed.
+1 💚javadoc0m 8shbase-shaded-check-invariants in the patch passed.
+1 💚javadoc0m 8shbase-shaded-with-hadoop-check-invariants in the patch passed.
+1 💚javadoc0m 9shbase-archetypes in the patch passed.
+1 💚javadoc0m 9shbase-client-project in the patch passed.
+1 💚javadoc0m 11shbase-shaded-client-project in the patch passed.
+1 💚javadoc0m 8shbase-archetype-builder in the patch passed.
+1 💚javadoc1m 53sroot generated 0 new + 84 unchanged - 1 fixed = 84 total (was 85)
_ Other Tests _
-1 ❌unit386m 51sroot in the patch failed.
461m 23s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux cfdf55db70af 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 / 242a194
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/testReport/
Max. process+thread count2472 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/12/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

Spot checked some files, mostly lgtm but I am not a fan of this particular change:

Agreed @apurtell , this is one of our points of discussion earlier in the thread (try to read between the buildbot spam).

I do not get the point here... In the past we DO wrap the method calls like this

 a = func(b, c, d, e, f
g, h, i);

And in this issue you mentioned you do not like this style

https://issues.apache.org/jira/browse/HBASE-26617

 protected static final MiniClusterRule miniClusterRule = MiniClusterRule.newBuilder()
- .setMiniClusterOption(StartMiniClusterOption.builder()
- .numWorkers(3)
- .build())
- .build();
+ .setMiniClusterOption(StartMiniClusterOption.builder().numWorkers(3).build()).build();

So you only want to the chained method calls to be one call per line, but for the arguments, you still want them to keep the old style?

Just let me know. It is just a formatter config change...

Thanks.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

Ping @ndimiduk

@ndimiduk

Copy link
Copy Markdown
Member

@Apache9 These are my preferences. I don't know how expressive the Eclipse Formatter configuration language is...

For method invocation arguments, I usually prefer as little whitespace as possible, wrapping only where necessary. Something like,

 foo(a, b, c, d, e, f,
g, h, i, j);

However, when invoking other methods as method (or commonly, constructor) parameters, I prefer a form with more whitespace,

 final foo = new Foo(
conf.get("foo_a_key", DEFAULT_A_VALUE),
callsiteParam.getFooBValue(),
...);

For method declarations, I follow two styles. For simple functions where declaring a parameter type and name doesn't use very many characters, I will do a "basic" version. But when the type parameter declarations take a lot of space, I prefer a style with more whitespace. So,

class Foo {
// a basic method declaration style style
public Foo(int a, boolean b, float c, ...) { ... }
// a style that uses more whitespace
public Foo(
final SomeType someType,
final SomeOtherType someOtherType,
...
) throws MyFavoriteException {
...
}
}

For method call chains with only a two method calls, I'm fine with keeping that to a single line. If there are many steps or steps that themselves wrap call chains, my preferences is one method call per line, with appropriate indentation. for example,

 // a simple one-liner
protected static final Foo foo = Foo().setA(a);
// a more complex example, where extra newlines improve readability.
protected static final MiniClusterRule miniClusterRule = MiniClusterRule.newBuilder()
.setMiniClusterOption(StartMiniClusterOption.builder()
.numWorkers(3)
.build())
.build();

@Apache9

Apache9 commented Apr 19, 2022

Copy link
Copy Markdown
ContributorAuthor

The eclipse formatter can not express the above things exactly, let me show you some examples.

This is Wrap where necessary

class Example {
void foo() {
Other.bar(100, nested(200, 300, 400,
500, 600, 700, 800, 900));
}
}

This is Wrap first element, others where necessary

class Example {
void foo() {
Other.bar(
100,
nested(
200, 300, 400, 500, 600, 700,
800, 900));
}
}

This is Wrap all elements, every element on a new line

class Example {
void foo() {
Other.bar(
100,
nested(
200,
300,
400,
500,
600,
700,
800,
900));
}
}

This is Wrap all elements, indent all but first element

class Example {
void foo() {
Other.bar(
100,
nested(
200,
300,
400,
500,
600,
700,
800,
900));
}
}

This is Wrap all elements, except first elemen if not necessary

class Example {
void foo() {
Other.bar(100,
nested(200,
300,
400,
500,
600,
700,
800,
900));
}
}

For me I think either we choose the first one, or the last one. The last one will have more lines but I think it is more clear if we have lots of arguments.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

So what's your guys decision? Seems there is no perfect format, let's choose a 'not bad' one?

Thanks. @ndimiduk@apurtell

@ndimiduk

Copy link
Copy Markdown
Member

So what's your guys decision? Seems there is no perfect format, let's choose a 'not bad' one?

Thanks. @ndimiduk@apurtell

I'm not really satisfied by either -- the first is good for most scenarios but the last is better when there's lots of longer arguments. If I must choose one, I choose the first as it's likely the correct choice most of the time.

At this point, I wonder if it's worth it for us as a community to maintain our own custom style guidelines. Perhaps we should adopt the Google Java Style, use the Google Java Format Tool, and move on. The former is well known and familiar to most devs by this point, and also is mostly identical to what we already do as a community. The latter is supported by all the major built tools via spotless plugins, as well as by both major IDEs.

Thanks again, @Apache9, for spending time on this.

@Apache9

Copy link
Copy Markdown
ContributorAuthor

So what's your guys decision? Seems there is no perfect format, let's choose a 'not bad' one?
Thanks. @ndimiduk@apurtell

I'm not really satisfied by either -- the first is good for most scenarios but the last is better when there's lots of longer arguments. If I must choose one, I choose the first as it's likely the correct choice most of the time.

At this point, I wonder if it's worth it for us as a community to maintain our own custom style guidelines. Perhaps we should adopt the Google Java Style, use the Google Java Format Tool, and move on. The former is well known and familiar to most devs by this point, and also is mostly identical to what we already do as a community. The latter is supported by all the major built tools via spotless plugins, as well as by both major IDEs.

Thanks again, @Apache9, for spending time on this.

Using google-java-format was my first proposal :)

See this thread:
https://lists.apache.org/thread/ognh01nt7hv4gy4cqj9grlgopj6t8tvl

@apurtell

Copy link
Copy Markdown
Contributor

I would settle for 'wrap where necessary' unless you do want to move right away to a different formatter. "Wrap where necessary" is very common in our code base already. All the other alternatives are not as good, IMHO. (Unless we move to a different tool.) @ndimiduk@Apache9

@Apache9

Copy link
Copy Markdown
ContributorAuthor

OK, I think the winner is 'wrap where necessary'. Let me change the formatter file and update the PR here.

And let me post an email in the dev list about this change, to receive more feedbacks before finally merging the PR. This is a very huge change on our code base, and will have long term effect, so I think we should be patient.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec5m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 37sNo case conflicting files found.
+0 🆗shelldocs0m 38sShelldocs was not available.
+0 🆗markdownlint0m 38smarkdownlint was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 51sMaven dependency ordering for branch
+1 💚mvninstall3m 0smaster passed
+1 💚compile7m 27smaster passed
+1 💚checkstyle4m 57smaster passed
-0 ⚠️mvnsite2m 7sroot in master failed.
+0 🆗refguide1m 37sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotbugs21m 57smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 9sthe patch passed
+1 💚compile5m 51sthe patch passed
-0 ⚠️javac5m 51sroot generated 391 new + 984 unchanged - 489 fixed = 1375 total (was 1473)
-0 ⚠️checkstyle1m 23sroot: The patch generated 475 new + 1347 unchanged - 7160 fixed = 1822 total (was 8507)
+1 💚mvnsite8m 5sthe patch passed
+1 💚pylint0m 56sThe patch generated 0 new + 1122 unchanged - 3 fixed = 1122 total (was 1125)
+1 💚shellcheck0m 3sThere were no new shellcheck issues.
-0 ⚠️whitespace0m 0sThe patch 30 line(s) with tabs.
+1 💚xml0m 40sThe patch has no ill-formed XML file.
+0 🆗refguide1m 33spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚hadoopcheck12m 10sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs24m 56sthe patch passed
_ Other Tests _
+1 💚asflicense5m 35sThe patch does not generate ASF License warnings.
150m 40s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4312
Optional Testsdupname asflicense shellcheck shelldocs xml markdownlint javac hadoopcheck compile spotbugs hbaseanti checkstyle refguide pylint mvnsite
unameLinux 1e382cc25a50 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 / af13c6d
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvnsitehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-general-check/output/branch-mvnsite-root.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/13/yetus-general-check/output/branch-site/book.html
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-general-check/output/diff-checkstyle-root.txt
whitespacehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-general-check/output/whitespace-tabs.txt
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-4312/13/yetus-general-check/output/patch-site/book.html
Max. process+thread count138 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-brotli hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/console
versionsgit=2.17.1 maven=3.6.3 shellcheck=0.4.6 spotbugs=4.2.2 pylint=2.4.4
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 17sDocker mode activated.
-0 ⚠️yetus2m 9sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 25sMaven dependency ordering for branch
+1 💚mvninstall3m 36smaster passed
+1 💚compile2m 22smaster passed
+1 💚shadedjars4m 13sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc13m 21smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 34sthe patch passed
+1 💚compile2m 10sthe patch passed
+1 💚javac2m 10sthe patch passed
+1 💚shadedjars4m 26spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc16m 7sthe patch passed
_ Other Tests _
-1 ❌unit323m 40sroot in the patch failed.
405m 58s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux f6d174f3e3f4 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 / af13c6d
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/testReport/
Max. process+thread count5148 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-brotli hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/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 17sDocker mode activated.
-0 ⚠️yetus2m 20sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for branch
+1 💚mvninstall3m 9smaster passed
+1 💚compile2m 6smaster passed
+1 💚shadedjars4m 24sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc11m 13smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall2m 27sthe patch passed
+1 💚compile2m 17sthe patch passed
+1 💚javac2m 17sthe patch passed
+1 💚shadedjars4m 45spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 8shbase-checkstyle in the patch passed.
+1 💚javadoc0m 9shbase-annotations in the patch passed.
+1 💚javadoc0m 7shbase-build-configuration in the patch passed.
+1 💚javadoc0m 8shbase-logging in the patch passed.
+1 💚javadoc0m 9shbase-protocol-shaded in the patch passed.
+1 💚javadoc0m 14shbase-common in the patch passed.
+1 💚javadoc0m 8shbase-metrics-api in the patch passed.
+1 💚javadoc0m 9shbase-metrics in the patch passed.
+1 💚javadoc0m 11shbase-hadoop-compat in the patch passed.
+1 💚javadoc0m 16shbase-client in the patch passed.
+1 💚javadoc0m 10shbase-zookeeper in the patch passed.
+1 💚javadoc0m 10shbase-replication in the patch passed.
+1 💚javadoc0m 9shbase-balancer in the patch passed.
+1 💚javadoc0m 7shbase-resource-bundle in the patch passed.
+1 💚javadoc0m 11shbase-http in the patch passed.
+1 💚javadoc0m 10shbase-asyncfs in the patch passed.
+1 💚javadoc0m 10shbase-procedure in the patch passed.
+1 💚javadoc0m 25shbase-server generated 0 new + 23 unchanged - 1 fixed = 23 total (was 24)
+1 💚javadoc0m 13shbase-mapreduce in the patch passed.
+1 💚javadoc0m 13shbase-testing-util in the patch passed.
+1 💚javadoc0m 25shbase-thrift in the patch passed.
+1 💚javadoc0m 10shbase-shell in the patch passed.
+1 💚javadoc0m 10shbase-endpoint in the patch passed.
+1 💚javadoc0m 12shbase-backup in the patch passed.
+1 💚javadoc0m 13shbase-it in the patch passed.
+1 💚javadoc0m 13shbase-rest in the patch passed.
+1 💚javadoc0m 16shbase-examples in the patch passed.
+1 💚javadoc0m 9shbase-shaded in the patch passed.
+1 💚javadoc0m 8shbase-shaded-client in the patch passed.
+1 💚javadoc0m 9shbase-shaded-client-byo-hadoop in the patch passed.
+1 💚javadoc0m 10shbase-shaded-mapreduce in the patch passed.
+1 💚javadoc0m 11shbase-external-blockcache in the patch passed.
+1 💚javadoc0m 12shbase-hbtop in the patch passed.
+1 💚javadoc0m 18shbase-compression in the patch passed.
+1 💚javadoc0m 12shbase-compression-aircompressor in the patch passed.
+1 💚javadoc0m 11shbase-compression-brotli in the patch passed.
+1 💚javadoc0m 10shbase-compression-lz4 in the patch passed.
+1 💚javadoc0m 12shbase-compression-snappy in the patch passed.
+1 💚javadoc0m 10shbase-compression-xz in the patch passed.
+1 💚javadoc0m 9shbase-compression-zstd in the patch passed.
+1 💚javadoc0m 11shbase-assembly in the patch passed.
+1 💚javadoc0m 8shbase-shaded-testing-util in the patch passed.
+1 💚javadoc0m 7shbase-shaded-testing-util-tester in the patch passed.
+1 💚javadoc0m 7shbase-shaded-check-invariants in the patch passed.
+1 💚javadoc0m 9shbase-shaded-with-hadoop-check-invariants in the patch passed.
+1 💚javadoc0m 12shbase-archetypes in the patch passed.
+1 💚javadoc0m 11shbase-client-project in the patch passed.
+1 💚javadoc0m 8shbase-shaded-client-project in the patch passed.
+1 💚javadoc0m 8shbase-archetype-builder in the patch passed.
-0 ⚠️javadoc1m 52sroot generated 8 new + 75 unchanged - 10 fixed = 83 total (was 85)
_ Other Tests _
-1 ❌unit385m 25sroot in the patch failed.
458m 55s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4312
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 78460c5b2bba 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 / af13c6d
Default JavaAdoptOpenJDK-1.8.0_282-b08
javadochttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-jdk8-hadoop3-check/output/diff-javadoc-javadoc-root.txt
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/testReport/
Max. process+thread count2091 (vs. ulimit of 30000)
modulesC: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-logging hbase-protocol-shaded hbase-common hbase-metrics-api hbase-metrics hbase-hadoop-compat hbase-client hbase-zookeeper hbase-replication hbase-balancer hbase-resource-bundle hbase-http hbase-asyncfs hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-shell hbase-endpoint hbase-backup hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-compression hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-brotli hbase-compression/hbase-compression-lz4 hbase-compression/hbase-compression-snappy hbase-compression/hbase-compression-xz hbase-compression/hbase-compression-zstd hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4312/13/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

Seems no big concerns from the community on the mailing list.

Then let's go with wrap where necessary?

Since the PR will have conflicts soon after there are new commits coming in as it touch almost all the files, I plan to just push it through command line after executing 'mvn spotless:apply' locally.

Plan to do it on Sunday. Shout if you guys have any concerns.

Thanks @apurtell@ndimiduk@bbeaudreault for helping here!

@ndimiduk

Copy link
Copy Markdown
Member

Thank you @Apache9 for landing this effort!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Apache9@Apache-HBase@bbeaudreault@ndimiduk@apurtell