Skip to content

HBASE-26959 Brotli compression support - #4353

Merged
apurtell merged 9 commits into
apache:masterfrom
apurtell:HBASE-26959
Apr 22, 2022
Merged

HBASE-26959 Brotli compression support#4353
apurtell merged 9 commits into
apache:masterfrom
apurtell:HBASE-26959

Conversation

@apurtell

@apurtellapurtell commented Apr 17, 2022

Copy link
Copy Markdown
Contributor

I was about to document the compression improvements upcoming in 2.5.0 and realized we lacked support for one of the major compression formats in use today. (Arguably brotli is not often used to compress data at rest, but is widely supported among web browsers and HTTP servers and clients.)

Brotli support for Java is provided by Apache 2 licensed Brotli4j available in Maven central.

It is not difficult to add it, so let's add it. There might be some advantage to opting for brotli compression when storing web data given the precomputed static dictionary of such content included in its specification.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 41sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 43sMaven dependency ordering for branch
+1 💚mvninstall2m 20smaster passed
+1 💚compile5m 53smaster passed
+1 💚checkstyle1m 7smaster passed
+1 💚spotbugs7m 48smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 27sMaven dependency ordering for patch
+1 💚mvninstall2m 7sthe patch passed
+1 💚compile5m 54sthe patch passed
-0 ⚠️javac5m 54sroot generated 2 new + 1470 unchanged - 2 fixed = 1472 total (was 1472)
-0 ⚠️checkstyle1m 6sroot: The patch generated 1 new + 8 unchanged - 0 fixed = 9 total (was 8)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 1sThe patch has no ill-formed XML file.
+1 💚hadoopcheck12m 1sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs8m 31sthe patch passed
_ Other Tests _
+1 💚asflicense0m 30sThe patch does not generate ASF License warnings.
54m 36s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4353
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile xml
unameLinux 9dc9603ff112 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 / 35aa57e
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/artifact/yetus-general-check/output/diff-checkstyle-root.txt
Max. process+thread count138 (vs. ulimit of 30000)
modulesC: hbase-common hbase-compression hbase-compression/hbase-compression-brotli . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 22sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 22sMaven dependency ordering for branch
+1 💚mvninstall4m 24smaster passed
+1 💚compile3m 12smaster passed
+1 💚shadedjars5m 59sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc4m 16smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 25sMaven dependency ordering for patch
+1 💚mvninstall4m 21sthe patch passed
+1 💚compile3m 21sthe patch passed
+1 💚javac3m 21sthe patch passed
+1 💚shadedjars6m 3spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc4m 31sthe patch passed
_ Other Tests _
-1 ❌unit271m 11sroot in the patch failed.
311m 37s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux f3a22061cbc4 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 / 35aa57e
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/testReport/
Max. process+thread count2634 (vs. ulimit of 30000)
modulesC: hbase-common hbase-compression hbase-compression/hbase-compression-brotli . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 3sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for branch
+1 💚mvninstall2m 19smaster passed
+1 💚compile1m 35smaster passed
+1 💚shadedjars3m 42sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 56smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall2m 36sthe patch passed
+1 💚compile1m 44sthe patch passed
+1 💚javac1m 44sthe patch passed
+1 💚shadedjars3m 56spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 11sthe patch passed
_ Other Tests _
+1 💚unit347m 31sroot in the patch passed.
371m 10s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 8f0dc6397cf0 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 / 35aa57e
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/testReport/
Max. process+thread count4562 (vs. ulimit of 30000)
modulesC: hbase-common hbase-compression hbase-compression/hbase-compression-brotli . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

Rebase and add supplemental models.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 41sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for branch
+1 💚mvninstall2m 6smaster passed
+1 💚compile5m 51smaster passed
+1 💚checkstyle1m 7smaster passed
+1 💚spotbugs7m 57smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
-1 ❌mvninstall2m 3sroot in the patch failed.
-1 ❌compile5m 51sroot in the patch failed.
-0 ⚠️javac5m 51sroot in the patch failed.
-0 ⚠️checkstyle1m 5sroot: The patch generated 1 new + 8 unchanged - 0 fixed = 9 total (was 8)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 3sThe patch has no ill-formed XML file.
-1 ❌hadoopcheck2m 54sThe patch causes 10 errors with Hadoop v3.1.2.
-1 ❌hadoopcheck5m 55sThe patch causes 10 errors with Hadoop v3.2.2.
-1 ❌hadoopcheck8m 55sThe patch causes 10 errors with Hadoop v3.3.1.
-1 ❌spotbugs7m 1sroot in the patch failed.
_ Other Tests _
+1 💚asflicense0m 34sThe patch does not generate ASF License warnings.
46m 42s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4353
Optional Testsdupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
unameLinux e37fcb4130c3 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 / 35aa57e
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compilehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-general-check/output/patch-compile-root.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-general-check/output/patch-compile-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-general-check/output/diff-checkstyle-root.txt
hadoopcheckhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-general-check/output/patch-javac-3.1.2.txt
hadoopcheckhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-general-check/output/patch-javac-3.2.2.txt
hadoopcheckhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-general-check/output/patch-javac-3.3.1.txt
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-general-check/output/patch-spotbugs-root.txt
Max. process+thread count137 (vs. ulimit of 30000)
modulesC: hbase-common hbase-compression hbase-compression/hbase-compression-brotli hbase-assembly . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 19sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for branch
+1 💚mvninstall2m 35smaster passed
+1 💚compile1m 52smaster passed
+1 💚shadedjars3m 41sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 38smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
-1 ❌mvninstall2m 39sroot in the patch failed.
-1 ❌compile1m 51sroot in the patch failed.
-0 ⚠️javac1m 51sroot in the patch failed.
+1 💚shadedjars3m 40spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 53sthe patch passed
_ Other Tests _
-1 ❌unit261m 22sroot in the patch failed.
287m 31s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux cff28ffe8dc8 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 / 35aa57e
Default JavaAdoptOpenJDK-11.0.10+9
mvninstallhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk11-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-root.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-root.txt
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/testReport/
Max. process+thread count4558 (vs. ulimit of 30000)
modulesC: hbase-common hbase-compression hbase-compression/hbase-compression-brotli . hbase-assembly U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 8sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for branch
+1 💚mvninstall2m 18smaster passed
+1 💚compile1m 33smaster passed
+1 💚shadedjars3m 41sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 6smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
-1 ❌mvninstall2m 12sroot in the patch failed.
-1 ❌compile1m 38sroot in the patch failed.
-0 ⚠️javac1m 38sroot in the patch failed.
+1 💚shadedjars3m 43spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 17sthe patch passed
_ Other Tests _
-1 ❌unit367m 54sroot in the patch failed.
391m 58s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 2c153a1cba24 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 / 35aa57e
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk8-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-root.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-root.txt
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/testReport/
Max. process+thread count4526 (vs. ulimit of 30000)
modulesC: hbase-common hbase-compression hbase-compression/hbase-compression-brotli hbase-assembly . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/2/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for branch
+1 💚mvninstall2m 48smaster passed
+1 💚compile7m 16smaster passed
+1 💚checkstyle1m 16smaster passed
+1 💚spotbugs9m 41smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
-1 ❌mvninstall2m 38sroot in the patch failed.
-1 ❌compile6m 58sroot in the patch failed.
-0 ⚠️javac6m 58sroot in the patch failed.
+1 💚checkstyle1m 21sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 5sThe patch has no ill-formed XML file.
-1 ❌hadoopcheck3m 37sThe patch causes 10 errors with Hadoop v3.1.2.
-1 ❌hadoopcheck7m 13sThe patch causes 10 errors with Hadoop v3.2.2.
-1 ❌hadoopcheck10m 35sThe patch causes 10 errors with Hadoop v3.3.1.
-1 ❌spotbugs7m 12sroot in the patch failed.
_ Other Tests _
+1 💚asflicense0m 52sThe patch does not generate ASF License warnings.
56m 3s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4353
Optional Testsdupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
unameLinux 70b24e2d0d4b 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 / 35aa57e
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-general-check/output/patch-mvninstall-root.txt
compilehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-general-check/output/patch-compile-root.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-general-check/output/patch-compile-root.txt
hadoopcheckhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-general-check/output/patch-javac-3.1.2.txt
hadoopcheckhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-general-check/output/patch-javac-3.2.2.txt
hadoopcheckhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-general-check/output/patch-javac-3.3.1.txt
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-general-check/output/patch-spotbugs-root.txt
Max. process+thread count139 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle hbase-compression hbase-compression/hbase-compression-brotli . hbase-assembly U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

Precommit failures are all of the form

[INFO] --- maven-enforcer-plugin:3.0.0:enforce (check-aggregate-license) @ hbase-assembly ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.EvaluateBeanshell failed with message:
License errors detected, for more detail find ERROR in
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-4353/yetus-general-check/src/hbase-assembly/target/maven-shared-archive-resources/META-INF/LICENSE

so I don't have the supplimental models changes quite right yet, even though it seems fine locally.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 43sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for branch
+1 💚mvninstall3m 21smaster passed
+1 💚compile2m 9smaster passed
+1 💚shadedjars4m 24sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 12smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
-1 ❌mvninstall3m 8sroot in the patch failed.
-1 ❌compile2m 18sroot in the patch failed.
-0 ⚠️javac2m 18sroot in the patch failed.
+1 💚shadedjars4m 33spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 38sthe patch passed
_ Other Tests _
-1 ❌unit243m 42sroot in the patch failed.
274m 52s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 56ef0eedb711 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 / 35aa57e
Default JavaAdoptOpenJDK-11.0.10+9
mvninstallhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk11-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-root.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-root.txt
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/testReport/
Max. process+thread count2596 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle hbase-compression hbase-compression/hbase-compression-brotli hbase-assembly . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/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.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

The precommit failure is unrelated to this change

[ERROR] org.apache.hadoop.hbase.security.TestSecureIPC.testSaslWithCryptoAES[3:rpcClientImpl=org.apache.hadoop.hbase.ipc.NettyRpcClient, rpcServerImpl=org.apache.hadoop.hbase.ipc.NettyRpcServer] Time elapsed: 0.141 s <<< ERROR!
java.lang.NullPointerException

@apurtell

Copy link
Copy Markdown
ContributorAuthor

I don't understand the license errors.

License errors detected, for more detail find ERROR in
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-4353/yetus-jdk11-hadoop3-check/src/hbase-assembly/target/maven-shared-archive-resources/META-INF/LICENSE

This is NOT failing locally, "mvn clean install assembly:single -DskipTests"

@apurtell

Copy link
Copy Markdown
ContributorAuthor

Oh perhaps b436ab4 has not been tested yet. Still shows as yellow.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 13sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 23sMaven dependency ordering for branch
+1 💚mvninstall3m 27smaster passed
+1 💚compile2m 25smaster passed
+1 💚shadedjars5m 27sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 14smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 20sMaven dependency ordering for patch
-1 ❌mvninstall3m 13sroot in the patch failed.
-1 ❌compile2m 24sroot in the patch failed.
-0 ⚠️javac2m 24sroot in the patch failed.
+1 💚shadedjars5m 21spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 28sthe patch passed
_ Other Tests _
-1 ❌unit425m 18sroot in the patch failed.
458m 9s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux e4bb769a217f 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 / 35aa57e
Default JavaAdoptOpenJDK-1.8.0_282-b08
mvninstallhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk8-hadoop3-check/output/patch-mvninstall-root.txt
compilehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-root.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk8-hadoop3-check/output/patch-compile-root.txt
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/testReport/
Max. process+thread count2120 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle hbase-compression hbase-compression/hbase-compression-brotli . hbase-assembly U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/3/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 6sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for branch
+1 💚mvninstall2m 9smaster passed
+1 💚compile6m 8smaster passed
+1 💚checkstyle1m 8smaster passed
+1 💚spotbugs8m 13smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall2m 8sthe patch passed
+1 💚compile6m 11sthe patch passed
-0 ⚠️javac6m 11sroot generated 2 new + 1470 unchanged - 2 fixed = 1472 total (was 1472)
-0 ⚠️checkstyle1m 9sroot: The patch generated 1 new + 8 unchanged - 0 fixed = 9 total (was 8)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 3sThe patch has no ill-formed XML file.
+1 💚hadoopcheck11m 29sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs8m 52sthe patch passed
_ Other Tests _
+1 💚asflicense0m 56sThe patch does not generate ASF License warnings.
55m 33s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4353
Optional Testsdupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
unameLinux be9871912918 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 / 35aa57e
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/4/artifact/yetus-general-check/output/diff-compile-javac-root.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/4/artifact/yetus-general-check/output/diff-checkstyle-root.txt
Max. process+thread count137 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle hbase-compression hbase-compression/hbase-compression-brotli hbase-assembly . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/4/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 39sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 23sMaven dependency ordering for branch
+1 💚mvninstall2m 34smaster passed
+1 💚compile1m 42smaster passed
+1 💚shadedjars3m 50sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 30smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall2m 25sthe patch passed
+1 💚compile1m 40sthe patch passed
+1 💚javac1m 40sthe patch passed
+1 💚shadedjars3m 45spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 34sthe patch passed
_ Other Tests _
+1 💚unit227m 18sroot in the patch passed.
252m 57s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 1da930b4a39f 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 35aa57e
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/4/testReport/
Max. process+thread count5013 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle hbase-compression hbase-compression/hbase-compression-brotli . hbase-assembly U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/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.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

I subjected the new codec to the same IntegrationTestLoadCommonCrawl stress test scenario used for the earlier compression work and it passed.

@ndimidukndimiduk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some questions and small nits -- otherwise, looks good.

</dependency>
<!-- native Java compression codecs -->
<dependency>
<groupId>com.aayushatharva.brotli4j</groupId>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we shade this dependency? Is there a scenario where user code and this jar find themselves on the same class path?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

We have not shaded any other compression support libraries. It could be a follow up issue to do them all if it seems like a good idea.

@apurtellapurtellApr 19, 2022

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Actually I don't believe shading can work. All of the compression support libraries except for aircompressor (with its raison d'être being pure Java implementation) extract platform specific native shared libraries and load them dynamically at runtime. The symbols compiled on the native side of the JNI bridge cannot be relocated by shading so the result will fail to link. I made sure we only included options that have native support for Linux x86_64 and Linux aarch64. Usually they also have support for MacOS x86_64. That is the case for Brotli4j.

Comment threadhbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm Outdated
@apurtell

Copy link
Copy Markdown
ContributorAuthor

Rebased on latest master, incorporating improvements from review feedback.

@apurtell

apurtell commented Apr 20, 2022

Copy link
Copy Markdown
ContributorAuthor

I have an approval and addressed all review feedback. Planning to merge this evening unless objection. Waiting for latest precommit to check before commit.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec3m 22sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for branch
+1 💚mvninstall2m 24smaster passed
+1 💚compile6m 10smaster passed
+1 💚checkstyle1m 10smaster passed
+1 💚spotbugs9m 33smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall2m 8sthe patch passed
+1 💚compile6m 19sthe patch passed
-0 ⚠️javac6m 19sroot generated 75 new + 1389 unchanged - 83 fixed = 1464 total (was 1472)
+1 💚checkstyle1m 9sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 3sThe patch has no ill-formed XML file.
+1 💚hadoopcheck11m 39sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs10m 55sthe patch passed
_ Other Tests _
+1 💚asflicense1m 40sThe patch does not generate ASF License warnings.
63m 36s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4353
Optional Testsdupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
unameLinux 436c538965b3 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 / 35aa57e
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/5/artifact/yetus-general-check/output/diff-compile-javac-root.txt
Max. process+thread count139 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle 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 U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/5/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 18sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for branch
+1 💚mvninstall2m 34smaster passed
+1 💚compile1m 52smaster passed
+1 💚shadedjars3m 40sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 43smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall2m 33sthe patch passed
+1 💚compile1m 54sthe patch passed
+1 💚javac1m 54sthe patch passed
+1 💚shadedjars3m 38spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 56sthe patch passed
_ Other Tests _
-1 ❌unit241m 17sroot in the patch failed.
270m 37s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 4d7e4821d6cb 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 / 35aa57e
Default JavaAdoptOpenJDK-11.0.10+9
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/5/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/5/testReport/
Max. process+thread count4383 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle 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 . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/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.

@Apache9Apache9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall LGTM. The only concern is about the LICENSE aggregating, let's wait for @busbey 's input? Or mind posting the errors here? In the past we usually get through this by modifying the supplemental model.

Thanks @apurtell for the effort on improving the compression support.

conf.getInt(CommonConfigurationKeys.IO_COMPRESSION_CODEC_ZSTD_BUFFER_SIZE_KEY,
CommonConfigurationKeys.IO_COMPRESSION_CODEC_ZSTD_BUFFER_SIZE_DEFAULT));
return size > 0 ? size : 256 * 1024; // Don't change this default
// IO_COMPRESSION_CODEC_ZSTD_BUFFER_SIZE_DEFAULT is 0! We can't allow that.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

hmmm, why we have an invalid default value?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

It is Hadoop's default, IO_COMPRESSION_CODEC_ZSTD_BUFFER_SIZE_DEFAULT is a Hadoop constant. We reuse these where we can. But the value of '0' gives an error creating the (Hadoop) compression stream. So we don't accept it here.

Comment threadhbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm Outdated
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 41sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 23sMaven dependency ordering for branch
+1 💚mvninstall3m 28smaster passed
+1 💚compile2m 23smaster passed
+1 💚shadedjars5m 27sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc4m 21smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 19sMaven dependency ordering for patch
+1 💚mvninstall3m 18sthe patch passed
+1 💚compile2m 24sthe patch passed
+1 💚javac2m 24sthe patch passed
+1 💚shadedjars5m 22spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc4m 27sthe patch passed
_ Other Tests _
-1 ❌unit373m 10sroot in the patch failed.
410m 37s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/5/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 4fb9e0e237cf 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 / 35aa57e
Default JavaAdoptOpenJDK-1.8.0_282-b08
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/5/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/5/testReport/
Max. process+thread count2199 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle 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 U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/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.

@apurtell

apurtell commented Apr 21, 2022

Copy link
Copy Markdown
ContributorAuthor

@Apache9 I did not save the error text. It is the standard error text you get when LICENSE.vm cannot be processed. It said to add "apache license 2.0" to non_aggregated_fine if appropriate. So that is what I did, because that is true in this case. The reason this happens is due to the Brotli4j POMs, which do not use the exact text to describe the Apache 2.0 license as expected. Nothing we can do about it except add it to non_aggregated_fine as intended, I believe. I tried to substitute for the Brotli4j model in suppliemental_models but this did not work.

Brotli4j is licensed with the Apache 2.0 license.

@apurtell

apurtell commented Apr 21, 2022

Copy link
Copy Markdown
ContributorAuthor

Unless @busbey actually responds soon I have an approval and will merge this to move forward. Let me give it another few days, there is no rush, early next week.

He responded upthread.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

After ingesting ~5TB of CommonCrawl data, brotli compressing at level 7 offers a few % improvement (-85% vs -82%) over zstandard also compressing at its notion of level 7. This stands to reason as brotli will fall back on its static dictionary pre-trained on web content before adding input to the generic/dynamic dictionary; while zstandard does not have this advantage (although it could, if the user configures a suitable pre-trained dictionary for it (see HBASE-26353)). At scale that difference would be noticeable.

@apurtell

apurtell commented Apr 21, 2022

Copy link
Copy Markdown
ContributorAuthor

Rebased on master, using supplemental models to fix the LICENSE.vm issue as required.

(@busbey pointed me at HBASE-26760 where another workaround like I proposed here was backed out.)

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec4m 56sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for branch
+1 💚mvninstall2m 2smaster passed
+1 💚compile5m 47smaster passed
+1 💚checkstyle1m 5smaster passed
+1 💚spotbugs9m 13smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 5sthe patch passed
+1 💚compile5m 55sthe patch passed
-0 ⚠️javac5m 55sroot generated 15 new + 1458 unchanged - 15 fixed = 1473 total (was 1473)
+1 💚checkstyle1m 17sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 4sThe patch has no ill-formed XML file.
+1 💚hadoopcheck11m 36sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotbugs10m 27sthe patch passed
_ Other Tests _
+1 💚asflicense1m 15sThe patch does not generate ASF License warnings.
62m 49s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4353
Optional Testsdupname asflicense javac hadoopcheck xml compile spotbugs hbaseanti checkstyle
unameLinux 04a7224a32f7 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 / 41ae90d
Default JavaAdoptOpenJDK-1.8.0_282-b08
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/6/artifact/yetus-general-check/output/diff-compile-javac-root.txt
Max. process+thread count138 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle 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 . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/6/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 45sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed 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 💚mvninstall2m 40smaster passed
+1 💚compile1m 50smaster passed
+1 💚shadedjars3m 38sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 43smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall2m 33sthe patch passed
+1 💚compile1m 51sthe patch passed
+1 💚javac1m 51sthe patch passed
+1 💚shadedjars3m 41spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc3m 58sthe patch passed
_ Other Tests _
+1 💚unit243m 6sroot in the patch passed.
277m 44s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/6/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 62767ce18835 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 / 41ae90d
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/6/testReport/
Max. process+thread count4526 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle 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 . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/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 🆗reexec6m 5sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 18sMaven dependency ordering for branch
+1 💚mvninstall2m 22smaster passed
+1 💚compile1m 36smaster passed
+1 💚shadedjars3m 42sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc2m 59smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall2m 28sthe patch passed
+1 💚compile1m 51sthe patch passed
+1 💚javac1m 51sthe patch passed
+1 💚shadedjars3m 54spatch has no errors when building our shaded downstream artifacts.
-0 ⚠️javadoc1m 33sroot generated 3 new + 82 unchanged - 3 fixed = 85 total (was 85)
_ Other Tests _
+1 💚unit345m 54sroot in the patch passed.
377m 34s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/6/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#4353
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 3e624ab43e78 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 / 41ae90d
Default JavaAdoptOpenJDK-1.8.0_282-b08
javadochttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/6/artifact/yetus-jdk8-hadoop3-check/output/diff-javadoc-javadoc-root.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/6/testReport/
Max. process+thread count4692 (vs. ulimit of 30000)
modulesC: hbase-common hbase-resource-bundle 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 U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4353/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.

@busbey

Copy link
Copy Markdown
Contributor

I haven't gotten to dig into the change beyond the licensing stuff. but seems good to go to me given the existing review and this update on license handling.

@apurtell
apurtell merged commit f5b10e0 into apache:masterApr 22, 2022
@apurtell
apurtell deleted the HBASE-26959 branch April 22, 2022 23:42
asfgit pushed a commit that referenced this pull request Apr 23, 2022
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
asfgit pushed a commit that referenced this pull request Apr 23, 2022
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
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

@apurtell@Apache-HBase@busbey@ndimiduk@Apache9