Hbase2.0.5集成Phoenix5.0.0启动出现java.lang.NoSuchMethodError: com.ctc.wstx.stax.WstxInputFactory.createSR

Hbase2.0.5集成Phoenix5.0.0启动出现java.lang.NoSuchMethodError: com.ctc.wstx.stax.WstxInputFactory.createSR,第1张

Hbase2.0.5集成Phoenix5.0.0启动出现java.lang.NoSuchMethodError: com.ctc.wstx.stax.WstxInputFactory.createSR Hbase2.0.5集成Phoenix5.0.0启动出现错误如下

Exception in thread “main” java.lang.NoSuchMethodError: com.ctc.wstx.stax.WstxInputFactory.createSR(Lcom/ctc/wstx/api/ReaderConfig;Lcom/ctc/wstx/io/SystemId;Lcom/ctc/wstx/io/InputBootstrapper;ZZ)Lorg/codehaus/stax2/XMLStreamReader2;
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2959)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2943)
at org.apache.hadoop.conf.Configuration.getStreamReader(Configuration.java:3037)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2995)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2968)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2848)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:1200)
at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:1254)
at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1660)
at org.apache.hadoop.hbase.HbaseConfiguration.checkDefaultsVersion(HbaseConfiguration.java:66)
at org.apache.hadoop.hbase.HbaseConfiguration.addHbaseResources(HbaseConfiguration.java:80)
at org.apache.hadoop.hbase.HbaseConfiguration.create(HbaseConfiguration.java:94)
at org.apache.hadoop.hbase.util.HbaseConfTool.main(HbaseConfTool.java:39)
running master, logging to /opt/module/hbase-2.0.5/logs/hbase-root-master-flink.out
flink: running regionserver, logging to /opt/module/hbase-2.0.5/logs/hbase-root-regionserver-flink.out

只要将phoenix-5.0.0-Hbase-2.0-client.jar从Hbase的lib移除就好了

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5694270.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存