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;java

 

以上因爲Jar包衝突所致maven

maven包以下:ui

解決辦法以下:.net

 

有四種方法進行參考,請自行查閱;3d

可直接強制引用某一個jar包:netty

相關文章
相關標籤/搜索