phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "XiaoMifan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4896) Phoenix Kafka Plugin java.lang.NoSuchMethodError
Date Tue, 11 Sep 2018 06:01:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-4896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

XiaoMifan updated PHOENIX-4896:
-------------------------------

And even I use Disruptor 3.3.6 (referred from [https://github.com/apache/phoenix/blob/4.14-HBase-1.4/pom.xml)|https://github.com/apache/phoenix/blob/4.14-HBase-1.4/pom.xml),],
the NoMethodFound error is still not get solved.

 

 

> Phoenix Kafka Plugin java.lang.NoSuchMethodError
> ------------------------------------------------
>
>                 Key: PHOENIX-4896
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4896
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.0
>         Environment: EMR 5.16.0
> Hive 2.3.3, 
> Pig 0.17.0, 
> Spark 2.3.1, 
> Phoenix 4.14.0, 
> HBase 1.4.4, 
> Tez 0.8.4, 
> ZooKeeper 3.4.12
> Kakfa 1.1.0-cp1 (Confluent Open Source)
>            Reporter: XiaoMifan
>            Priority: Blocker
>
> I'm trying to run Kafka Plugin under EMR 5.16 environment, seems lot of dependencies
are missing, I added follows to solved some of the NoClassFound errors.
> {code:java}
> commons-io-2.4.jar
> disruptor-2.7.1.jar
> json-20090211.jar
> json-path-2.2.0.jar
> {code}
> But for this one, it's still could not be solved:
> {code:java}
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/home/ec2-user/apache-flume-1.8.0-bin/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/usr/lib/phoenix/phoenix-4.14.0-HBase-1.4-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/usr/lib/phoenix/phoenix-4.14.0-HBase-1.4-hive.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/usr/lib/phoenix/phoenix-4.14.0-HBase-1.4-pig.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/usr/lib/phoenix/phoenix-4.14.0-HBase-1.4-thin-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> Exception in thread "main" com.google.common.util.concurrent.ExecutionError: java.lang.NoSuchMethodError:
com.lmax.disruptor.dsl.Disruptor.<init>(Lcom/lmax/disruptor/EventFactory;ILjava/util/concurrent/ThreadFactory;Lcom/lmax/disruptor/dsl/ProducerType;Lcom/lmax/disruptor/WaitStrategy;)V
> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2232)
> at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
> at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
> at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:241)
> at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:150)
> at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:221)
> at java.sql.DriverManager.getConnection(DriverManager.java:664)
> at java.sql.DriverManager.getConnection(DriverManager.java:208)
> at org.apache.phoenix.flume.serializer.BaseEventSerializer.initialize(BaseEventSerializer.java:140)
> at org.apache.phoenix.kafka.consumer.PhoenixConsumer.start(PhoenixConsumer.java:195)
> at org.apache.phoenix.kafka.consumer.PhoenixConsumer.<init>(PhoenixConsumer.java:75)
> at org.apache.phoenix.kafka.consumer.PhoenixConsumerTool.run(PhoenixConsumerTool.java:98)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
> at org.apache.phoenix.kafka.consumer.PhoenixConsumerTool.main(PhoenixConsumerTool.java:104)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.hadoop.util.RunJar.run(RunJar.java:234)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
> Caused by: java.lang.NoSuchMethodError: com.lmax.disruptor.dsl.Disruptor.<init>(Lcom/lmax/disruptor/EventFactory;ILjava/util/concurrent/ThreadFactory;Lcom/lmax/disruptor/dsl/ProducerType;Lcom/lmax/disruptor/WaitStrategy;)V
> at org.apache.phoenix.log.QueryLoggerDisruptor.<init>(QueryLoggerDisruptor.java:72)
> at org.apache.phoenix.query.ConnectionQueryServicesImpl.<init>(ConnectionQueryServicesImpl.java:414)
> at org.apache.phoenix.jdbc.PhoenixDriver$3.call(PhoenixDriver.java:248)
> at org.apache.phoenix.jdbc.PhoenixDriver$3.call(PhoenixDriver.java:241)
> at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)
> at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
> at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
> at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message