Istvan Toth created PHOENIX-7125:
------------------------------------

             Summary: PQS tests fail with Java 11
                 Key: PHOENIX-7125
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7125
             Project: Phoenix
          Issue Type: Bug
          Components: queryserver
            Reporter: Istvan Toth


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)

Reply via email to