Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23007

UnsatisfiedLinkError when using hbase-shaded packages under linux

    XMLWordPrintableJSON

Details

    Description

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

      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)
      

      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.

      Attachments

        Activity

          People

            meszibalu Balazs Meszaros
            meszibalu Balazs Meszaros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: