[
https://issues.apache.org/jira/browse/DRILL-7911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17340824#comment-17340824
]
ASF GitHub Bot commented on DRILL-7911:
---------------------------------------
martin-g commented on a change in pull request #2217:
URL: https://github.com/apache/drill/pull/2217#discussion_r628203535
##########
File path: pom.xml
##########
@@ -1726,7 +1740,7 @@
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
- <version>2.0.1.Final</version>
+ <version>2.0.39.Final</version>
Review comment:
Netty-tcnative 2.0.31.Final has started providing aarch64 binaries for
BoringSSL.
See https://github.com/netty/netty-tcnative/issues/552 and
https://github.com/netty/netty-tcnative/pull/517
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
> Build faillure on Linux ARM64
> -----------------------------
>
> Key: DRILL-7911
> URL: https://issues.apache.org/jira/browse/DRILL-7911
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Martin Tzvetanov Grigorov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Major
> Fix For: 1.19.0
>
>
> There are few problems when trying to build Drill on Linux ARM64 machine:
>
> 1) org.apache.drill.exec.record.vector.TestValueVector fails with
> OutOfMemoryError while trying to allocate native memory.
> {code:java}
> org.apache.drill.exec.record.vector.TestValueVector.testVariableVectorReallocation
> Time elapsed: 0.012 s <<< ERROR!
> java.lang.Exception: Unexpected exception,
> expected<org.apache.drill.exec.exception.OversizedAllocationException> but
> was<org.apache.drill.exec.exception.OutOfMemoryException>
> at
> org.apache.drill.exec.record.vector.TestValueVector.testVariableVectorReallocation(TestValueVector.java:165)
> Caused by: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate
> 2147483647 byte(s) of direct memory (used: 889192448, max: 2621440000)
> at
> org.apache.drill.exec.record.vector.TestValueVector.testVariableVectorReallocation(TestValueVector.java:165)
> {code}
> I've tried to debug it by adding io.netty.leakDetection.level=paranoid to
> maven-surefire-plugin's argLine but instead of reporting the leaks this
> actually worked around the issue
>
> 2) Contrib Storage Mongo module tests fail because flapdoodle.mongo
> dependency does not support Linux ARM64
> I've created the following PRs to fix it:
> [https://github.com/flapdoodle-oss/de.flapdoodle.embed.process/pull/119]{color:#000000}
> - Add support for AARCH64{color}
> [https://github.com/flapdoodle-oss/de.flapdoodle.embed.process/pull/12|https://github.com/flapdoodle-oss/de.flapdoodle.embed.process/pull/120]+0+{color:#000000}
> - Add support for comparing versions{color}
> [https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/pull/34|https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/pull/343]+3+{color:#000000}
> - Add support for Linux AARCH64 and newer Mongodb versions{color}
>
> *{color:#000000}Update:{color}* {color:#000000}Contrib{color}
> {color:#000000}Storage{color}{color:#000000} Mongo module has been migrated
> to use TestContainers-Mongo{color}
>
> {color:#000000}3) Contrib Storage JDBC tests fail because
> {color}com.wix:wix-embedded-mysql does not support Linux ARM64
> I've started adding support for ARM64 to Wix but then I realized that the
> project might be dead. Last commit to
> [https://github.com/wix/wix-embedded-mysql] is at Nov 3rd 2019. So I am not
> sure whether the improvement will be ever accepted and released.
> My new approach here is to use TestContainers-MySQL instead of
> com.wix:wix-embedded-mysql. Apache Drill already uses TestContainers for
> Storage Cassandra and TestContainers Vault for java-exec module.
>
> 4) Module "Contrib : Storage : Splunk" fails because there is no ARM64 Docker
> image for "splunk". For now I cannot find any third party Docker image for
> Splunk on ARM64. The only solutions I see is to disable the Splunk module
> tests on Linux ARM64
> According to
> [https://docs.splunk.com/Documentation/Splunk/latest/Installation/Systemrequirements#Unix_operating_systems]
> Linux ARM64 is not supported.
> I've created [https://github.com/splunk/docker-splunk/issues/479] requesting
> for adding support for ARM64.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)