我要评分
获取效率
正确性
完整性
易理解

libnetty_transport_native_epoll_x86_64.so Not Found

Symptom

The error message is as follows:

1
An Ant BuildException has occurred: Warning: Could not find file /opt/tools/installed/hbase-thirdparty-rel-2.1.0/hbase-shadded-netty/target/unpacked/META-INF/native/libnetty_transport_native_epoll_x86_64.so to copy

Key Process and Cause Analysis

Failed to find libnetty_transport_native_epoll_x86_64.so.

Conclusion and Solution

  1. Open the hbase-shaded-netty/pom.xml file.
    1
    vi hbase-shaded-netty/pom.xml
    
  2. Press i to enter the insert mode and change x86_64 to aarch_64. The code is as follows:
    1
    <move file="${project.build.directory}/unpacked/META-INF/native/libnetty_transport_native_epoll_aarch_64.so" tofile="${project.build.directory}/unpacked/META-INF/native/liborg_apache_hbase_thirdparty_nelly_ansport_native_epoll_aarch_64.so"/>
    
  3. Press Esc, type :wq!, and press Enter to save the file and exit.