鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

无法找到libnetty_transport_native_epoll_x86_64.so的解决方法

问题现象描述

报错信息如下。

1
An Ant BuildException has occured: 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

关键过程、根本原因分析

无法找到libnetty_transport_native_epoll_x86_64.so。

结论、解决方案及效果

  1. 打开“hbase-shaded-netty/pom.xml”文件。
    1
    vi hbase-shaded-netty/pom.xml
    
  2. “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_nelly_ansport_native_epoll_aarch_64.so"/>
    
  3. “Esc”键,输入:wq!,按“Enter”保存并退出编辑。