我是靠谱客的博主 故意短靴,这篇文章主要介绍NoSuchMethodError: org.apache.hadoop.security.authentication.util.KerberosUtil.hasKerberosKeyTab(Lja,现在分享给大家,希望可以做个参考。
Phonix和Hbase版本用的比较高,Phonix是5.0.0-HBase-2.0版,我用JAVA JDBC查询Phonix时报错:
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.security.authentication.util.KerberosUtil.hasKerberosKeyTab(Ljavax/security/auth/Subject;)Z
很显然时hadoop auth包版本的问题,于是将hadoop-auth依赖包更换为3.0.0版,正常
最后
以上就是故意短靴最近收集整理的关于NoSuchMethodError: org.apache.hadoop.security.authentication.util.KerberosUtil.hasKerberosKeyTab(Lja的全部内容,更多相关NoSuchMethodError:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复