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

Istvan Toth reassigned PHOENIX-7125:
------------------------------------

    Assignee: Istvan Toth

> PQS tests fail when hbase-shaded-netty version used by minicluster does not 
> match the version in phoenix-client
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-7125
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7125
>             Project: Phoenix
>          Issue Type: Bug
>          Components: queryserver
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Minor
>
> Looks like a classpath conflict with minicluster.
> -Maybe more checks were added for Java 11 on JNI libraries ?-
> This is not a Java 11 issue, it's a Netty check triggered by having different 
> hbase-thirdparty nettys on the classpath.
> {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)

Reply via email to