无法找到libnetty_transport_native_epoll_x86_64.so的解决方法
问题现象描述
提示信息如下。
| 1 | An Ant BuildException has occurred: Warning: Could not find file /opt/tools/installed/hbase-thirdparty-rel-2.1.0/hbase-shaded-netty/target/unpacked/META-INF/native/libnetty_transport_native_epoll_x86_64.so to copy | 
关键过程、根本原因分析
无法找到libnetty_transport_native_epoll_x86_64.so。
结论、解决方案及效果
- 打开“hbase-shaded-netty/pom.xml”文件。1vi hbase-shaded-netty/pom.xml
- 按“i”进入编辑模式,将“x86_64”修改为“aarch_64”。代码如下。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_netty_transport_native_epoll_aarch_64.so"/> 
- 按“Esc”键,输入:wq!,按“Enter”保存并退出编辑。
父主题: 故障排除