You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "zhaorenhai (Jira)" <ji...@apache.org> on 2021/01/14 03:20:00 UTC

[jira] [Created] (CASSANDRA-16384) ant test fail on aarch64 platform

zhaorenhai created CASSANDRA-16384:
--------------------------------------

             Summary: ant test fail on aarch64 platform
                 Key: CASSANDRA-16384
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16384
             Project: Cassandra
          Issue Type: Bug
            Reporter: zhaorenhai
            Assignee: zhaorenhai


When run ant; ant test on aarch64 platform, the ant test will fail on some tests, the log shows following:

Caused by: java.io.FileNotFoundException: META-INF/native/libnetty_tcnative_linux_aarch_64.so
 at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:175)
 ... 44 common frames omitted
 Suppressed: java.lang.UnsatisfiedLinkError: no netty_tcnative_linux_aarch_64 in java.library.path
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
 at java.lang.Runtime.loadLibrary0(Runtime.java:871)
 at java.lang.System.loadLibrary(System.java:1124)
 at io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
 at io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:351)
 at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:136)
 ... 44 common frames omitted
 Suppressed: java.lang.UnsatisfiedLinkError: no netty_tcnative_linux_aarch_64 in java.library.path
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
 at java.lang.Runtime.loadLibrary0(Runtime.java:871)
 at java.lang.System.loadLibrary(System.java:1124)
 at io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:385)
 at java.security.AccessController.doPrivileged(Native Method)
 at io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:377)
 at io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:341)

 

I think the root cause is:

https://github.com/netty/netty-tcnative/issues/571

[https://github.com/netty/netty-tcnative/issues/576]

and the solution of tcnative: 

[https://github.com/netty/netty-tcnative/pull/572]

[https://github.com/netty/netty-tcnative/pull/591]

 

Later, I will submit a patch for this, that is upgrade the libnetty-tcnative's version to 2.0.36.

Any suggestion?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org