[ 
https://issues.apache.org/jira/browse/PARQUET-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281722#comment-17281722
 ] 

Gabor Szadovszky commented on PARQUET-1975:
-------------------------------------------

This is strange. The referenced test [uses 
GZIP|https://github.com/apache/parquet-mr/blob/master/parquet-hadoop/src/test/java/org/apache/parquet/hadoop/DeprecatedInputFormatTest.java#L279].
 It should not fail with this error message. However, we have a test that 
includes testing of Brotli: 
[TestDirectCodecFactory|https://github.com/apache/parquet-mr/blob/master/parquet-hadoop/src/test/java/org/apache/parquet/hadoop/TestDirectCodecFactory.java].
 I am not sure if there are others that uses Brotli.

I am not an expert of codecs. Maybe, the fix would be to include the required 
binaries to [brotli-codec|https://github.com/rdblue/brotli-codec]. [~rdblue], 
what do you think?

> Test failure on ARM64 CPU architecture
> --------------------------------------
>
>                 Key: PARQUET-1975
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1975
>             Project: Parquet
>          Issue Type: Bug
>    Affects Versions: 1.12.0
>            Reporter: Martin Tzvetanov Grigorov
>            Priority: Minor
>
> Trying to build Apache Parquet MR on ARM64 fails with:
>  
> {code:java}
> $ mvn clean verify
> ...
> Tests in error: 
>   
> testReadWriteWithCountDeprecated(org.apache.parquet.hadoop.DeprecatedInputFormatTest):
>  org.apache.hadoop.io.compress.CompressionCodec: Provider 
> org.apache.hadoop.io.compress.BrotliCodec could not be instantiated
> {code}
>  
> The reason is that com.github.rdblue:brotli-codec has no binary for aarch64



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to