Balazs Meszaros created HBASE-23007:
---------------------------------------

             Summary: UnsatisfiedLinkError when using hbase-shaded packages 
under linux
                 Key: HBASE-23007
                 URL: https://issues.apache.org/jira/browse/HBASE-23007
             Project: HBase
          Issue Type: Bug
          Components: shading
    Affects Versions: 3.0.0
            Reporter: Balazs Meszaros
            Assignee: Balazs Meszaros


If we use hbase-shaded-* packages under linux, we get the following exception:

{noformat}
2019-08-26 16:36:10,413 ERROR [Time-limited test] regionserver.HRegionServer 
(HRegionServer.java:<init>(662)) - Failed construction RegionServer
java.lang.UnsatisfiedLinkError: failed to load the required native library
    at 
org.apache.hbase.thirdparty.io.netty.channel.epoll.Epoll.ensureAvailability(Epoll.java:79)
…
Caused by: java.lang.UnsatisfiedLinkError: could not load a native library: 
org_apache_hbase_thirdparty_org.apache.hadoop.hbase.shaded.netty_transport_native_epoll_x86_64
    at 
org.apache.hbase.thirdparty.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:224)
{noformat}

{{liborg_apache_hbase_thirdparty_netty_transport_native_epoll_x86_64.so}} is in 
the shaded jar files, but 
{{org_apache_hbase_thirdparty_org.apache.hadoop.hbase.shaded.netty_transport_native_epoll_x86_64.so}}
 is not.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to