【无标题】

启动hbase查看日志出现如下错误:

java 复制代码
Caused by: java.lang.IllegalStateException: Multiple resources found for 'META-INF/native/liborg_apache_hbase_thirdparty_netty_transport_native_epoll_x86_64.so' with different content: [jar:file:/data/hbase-2.5.5/lib/hbase-shaded-netty-4.1.4.jar!/META-INF/native/liborg_apache_hbase_thirdparty_netty_transport_native_epoll_x86_64.so, jar:file:/data/hbase-2.5.5/lib/phoenix-client-embedded-hbase-2.5-5.1.3.jar!/META-INF/native/liborg_apache_hbase_thirdparty_netty_transport_native_epoll_x86_64.so, jar:file:/data/hbase-2.5.5/lib/phoenix-client-hbase-2.5-5.1.3.jar!/META-INF/native/liborg_apache_hbase_thirdparty_netty_transport_native_epoll_x86_64.so]

说明hbase中的lib包下的phoenix-client-hbase-2.5-5.1.3.jar和phoenix-client-embedded-hbase-2.5-5.1.3.jar和/hbase-shaded-netty-4.1.4.jar冲突。

删除冲突包

java 复制代码
rm -rf phoenix-client-hbase-2.5-5.1.3.jar
rm -rf phoenix-client-embedded-hbase-2.5-5.1.3.jar
相关推荐
FlyingZCC5 个月前
Apache Omid Idea Debug 环境搭建
java·apache·intellij-idea·phoenix·omid
有语忆语10 个月前
Phoenix基本使用
phoenix
ls_elect1 年前
ubuntu22.04下hadoop3.3.6+hbase2.5.6+phoenix5.1.3开发环境搭建
linux·hadoop·zookeeper·hbase·phoenix