spark-phoenix-hive-hbase -netty包冲突

authentication disabled; ui acls disabled; users with view permissions: Set(yanfabu); groups with view permissions: Set(); users with modify permissions: Set(yanfabu); groups with modify permissions: Set()
Exception in thread "main" java.lang.NoSuchMethodError: io.netty.buffer.PooledByteBufAllocator.metric()Lio/netty/buffer/PooledByteBufAllocatorMetric;

spark-phoenix-hive-hbase -netty包冲突_第1张图片

 

以上由于Jar包冲突所致

maven包如下:

解决办法如下:

 

有四种方法进行参考,请自行查阅;

可直接强制引用某一个jar包:

spark-phoenix-hive-hbase -netty包冲突_第2张图片

 

你可能感兴趣的:(spark-phoenix-hive-hbase -netty包冲突)