You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2023/11/27 08:49:00 UTC

[jira] [Updated] (PHOENIX-7125) PQS tests fail when netty-thirdparty version used by tests does not match

     [ https://issues.apache.org/jira/browse/PHOENIX-7125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Istvan Toth updated PHOENIX-7125:
---------------------------------
    Summary: PQS tests fail when netty-thirdparty version used by tests does not match   (was: PQS tests fail with Java 11)

> PQS tests fail when netty-thirdparty version used by tests does not match 
> --------------------------------------------------------------------------
>
>                 Key: PHOENIX-7125
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7125
>             Project: Phoenix
>          Issue Type: Bug
>          Components: queryserver
>            Reporter: Istvan Toth
>            Priority: Major
>
> Looks like a classpath conflict with minicluster.
> Maybe more checks were added for Java 11 on JNI libraries ?
> {noformat}
> Caused by: java.lang.ExceptionInInitializerError
> 	at org.apache.hbase.thirdparty.io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:40)
> 	... 62 more
> Caused by: java.lang.IllegalStateException: Multiple resources found for 'META-INF/native/liborg_apache_hbase_thirdparty_netty_transport_native_epoll_x86_64.so' with different content: [jar:file:/home/stoty/.m2/repository/org/apache/phoenix/phoenix-client-embedded-hbase-2.4/5.1.3/phoenix-client-embedded-hbase-2.4-5.1.3.jar!/META-INF/native/liborg_apache_hbase_thirdparty_netty_transport_native_epoll_x86_64.so, jar:file:/home/stoty/.m2/repository/org/apache/hbase/thirdparty/hbase-shaded-netty/4.1.4/hbase-shaded-netty-4.1.4.jar!/META-INF/native/liborg_apache_hbase_thirdparty_netty_transport_native_epoll_x86_64.so]
> 	at org.apache.hbase.thirdparty.io.netty.util.internal.NativeLibraryLoader.getResource(NativeLibraryLoader.java:301)
> 	at org.apache.hbase.thirdparty.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:173)
> 	at org.apache.hbase.thirdparty.io.netty.channel.epoll.Native.loadNativeLibrary(Native.java:323)
> 	at org.apache.hbase.thirdparty.io.netty.channel.epoll.Native.<clinit>(Native.java:85)
> 	... 63 more
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)