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
- Open the hbase-shaded-netty/pom.xml file.
1vi hbase-shaded-netty/pom.xml - 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"/>
- Press Esc, type :wq!, and press Enter to save the file and exit.
Parent topic: Rectifying Faults