启动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