dzamo commented on pull request #2321: URL: https://github.com/apache/drill/pull/2321#issuecomment-927269529
@vvysotskyi There are two test errors in the ARM64 build that look like they would be resolved by adding `libbrotli1` to the `apt: packages` list in the Travis config. ``` [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.902 s <<< FAILURE! - in org.apache.drill.TestAggNullable [ERROR] org.apache.drill.TestAggNullable Time elapsed: 1.902 s <<< ERROR! java.util.ServiceConfigurationError: org.apache.hadoop.io.compress.CompressionCodec: Provider org.apache.hadoop.io.compress.BrotliCodec could not be instantiated Caused by: java.lang.UnsatisfiedLinkError: Couldn't load native library 'brotli'. [LoaderResult: os.name="Linux", os.arch="aarch64", os.version="5.4.0-1021-aws", java.vm.name="OpenJDK 64-Bit Server VM", java.vm.version="25.292-b10", java.vm.vendor="Private Build", alreadyLoaded="null", loadedFromSystemLibraryPath="false", nativeLibName="libbrotli.so", temporaryLibFile="/home/travis/build/apache/drill/exec/java-exec/target/brotli9222326058524323719/libbrotli.so", libNameWithinClasspath="/lib/linux-aarch64/libbrotli.so", usedThisClassloader="false", usedSystemClassloader="false", java.library.path="/usr/java/packages/lib/aarch64:/usr/lib/aarch64-linux-gnu/jni:/lib/aarch64-linux-gnu:/usr/lib/aarch64-linux-gnu:/usr/lib/jni:/lib:/usr/lib"] ``` Do you know how to do that? Even if that fixes it, I must admit that I am not able to see why the two tests which fail on ARM, `TestAggNullable` and `CredentialsProviderSerDeTest` even look for this Hadoop compression codec, yet clearly never did before this PR. Neither test has anything to do with Parquet, which is the only area I worked in. Perhaps it's buried somewhere in the test class inheritcance hierarchy. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
