Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.5.0
-
None
-
None
-
Reviewed
Description
The brotli tests fail on M1 macs
[INFO] Running org.apache.hadoop.hbase.io.compress.brotli.TestBrotliCodec
[INFO] Running org.apache.hadoop.hbase.io.compress.brotli.TestHFileCompressionBrotli
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.33 s <<< FAILURE! - in org.apache.hadoop.hbase.io.compress.brotli.TestHFileCompressionBrotli
[ERROR] org.apache.hadoop.hbase.io.compress.brotli.TestHFileCompressionBrotli.test Time elapsed: 0.225 s <<< ERROR!
java.lang.UnsatisfiedLinkError: Failed to load Brotli native library
...
The lib is installed on this machine. A new release of Brotli4j lib, 1.8.0, done a few days ago fixes the issue... (See https://github.com/hyperxpro/Brotli4j/pull/34). I tried it .
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.hbase.io.compress.brotli.TestBrotliCodec
[INFO] Running org.apache.hadoop.hbase.io.compress.brotli.TestHFileCompressionBrotli
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.036 s - in org.apache.hadoop.hbase.io.compress.brotli.TestHFileCompressionBrotli
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.42 s - in org.apache.hadoop.hbase.io.compress.brotli.TestBrotliCodec
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] — maven-surefire-plugin:3.0.0-M6:test (secondPartTestsExecution) @ hbase-compression-brotli ---
[INFO] Tests are skipped.
[INFO]
[INFO] — maven-jar-plugin:3.2.0:test-jar (default) @ hbase-compression-brotli ---
[INFO] Building jar: /Users/stack/checkouts/hbase/2.5.0RC1/hbase-2.5.0/hbase-compression/hbase-compression-brotli/target/hbase-compression-brotli-2.5.0-tests.jar
[INFO]
[INFO] — maven-jar-plugin:3.2.0:jar (default-jar) @ hbase-compression-brotli ---
[INFO] Building jar: /Users/stack/checkouts/hbase/2.5.0RC1/hbase-2.5.0/hbase-compression/hbase-compression-brotli/target/hbase-compression-brotli-2.5.0.jar
[INFO]
[INFO] — maven-site-plugin:3.12.0:attach-descriptor (attach-descriptor) @ hbase-compression-brotli ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] — maven-install-plugin:2.5.2:install (default-install) @ hbase-compression-brotli ---
[INFO] Installing /Users/stack/checkouts/hbase/2.5.0RC1/hbase-2.5.0/hbase-compression/hbase-compression-brotli/target/hbase-compression-brotli-2.5.0.jar to /Users/stack/.m2/repository/org/apache/hbase/hbase-compression-brotli/2.5.0/hbase-compression-brotli-2.5.0.jar
[INFO] Installing /Users/stack/checkouts/hbase/2.5.0RC1/hbase-2.5.0/hbase-compression/hbase-compression-brotli/pom.xml to /Users/stack/.m2/repository/org/apache/hbase/hbase-compression-brotli/2.5.0/hbase-compression-brotli-2.5.0.pom
[INFO] Installing /Users/stack/checkouts/hbase/2.5.0RC1/hbase-2.5.0/hbase-compression/hbase-compression-brotli/target/hbase-compression-brotli-2.5.0-tests.jar to /Users/stack/.m2/repository/org/apache/hbase/hbase-compression-brotli/2.5.0/hbase-compression-brotli-2.5.0-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.805 s
[INFO] Finished at: 2022-08-26T11:30:13-07:00
[INFO] ------------------------------------------------------------------------
Attachments
Issue Links
- links to