phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Ervits (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4515) getting error Exception in thread "main" java.lang.NoSuchMethodError: org.apache.kafka.clients.consumer.KafkaConsumer.subscribe(Ljava/util/List;)V while using phoenix-kafka plugin
Date Thu, 04 Jan 2018 15:33:00 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16311508#comment-16311508
] 

Artem Ervits commented on PHOENIX-4515:
---------------------------------------

the following error is from Kafka 0.9
{noformat}
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.kafka.clients.consumer.KafkaConsumer.subscribe(Ljava/util/List;)V
	at org.apache.phoenix.kafka.consumer.PhoenixConsumer.intializeKafka(PhoenixConsumer.java:129)
	at org.apache.phoenix.kafka.consumer.PhoenixConsumer.intializeKafka(PhoenixConsumer.java:99)
	at org.apache.phoenix.kafka.consumer.PhoenixConsumer.<init>(PhoenixConsumer.java:68)
	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:239)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:153)
{noformat}

> getting error Exception in thread "main" java.lang.NoSuchMethodError: org.apache.kafka.clients.consumer.KafkaConsumer.subscribe(Ljava/util/List;)V
while using phoenix-kafka plugin
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4515
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4515
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.13.0
>         Environment: mvn: 3.5.2
> jdk: 1.8.0_144
> OSX: 10.12.6
> Phoenix rev: 93306e9e28a0f13cbac87055c30fb9a781ae3345
> Kafka: 0.10.1
> Phoenix: 4.13
> HBase: 2.0
> Hadoop: 3.0
>            Reporter: Artem Ervits
>            Assignee: Artem Ervits
>            Priority: Blocker
>             Fix For: 4.13.1
>
>
> getting the following message with the Phoenix Kafka plugin
> {noformat}
> 18/01/04 14:42:55 WARN consumer.ConsumerConfig: The configuration serializer = null was
supplied but isn't a known config.
> 18/01/04 14:42:55 WARN consumer.ConsumerConfig: The configuration ddl = null was supplied
but isn't a known config.
> 18/01/04 14:42:55 WARN consumer.ConsumerConfig: The configuration serializer.columns
= null was supplied but isn't a known config.
> 18/01/04 14:42:55 WARN consumer.ConsumerConfig: The configuration poll.timeout.ms = null
was supplied but isn't a known config.
> 18/01/04 14:42:55 WARN consumer.ConsumerConfig: The configuration jdbcUrl = null was
supplied but isn't a known config.
> 18/01/04 14:42:55 WARN consumer.ConsumerConfig: The configuration table = null was supplied
but isn't a known config.
> Exception in thread "main" java.lang.NoSuchMethodError: org.apache.kafka.clients.consumer.KafkaConsumer.subscribe(Ljava/util/List;)V
> 	at org.apache.phoenix.kafka.consumer.PhoenixConsumer.intializeKafka(PhoenixConsumer.java:129)
> 	at org.apache.phoenix.kafka.consumer.PhoenixConsumer.intializeKafka(PhoenixConsumer.java:99)
> 	at org.apache.phoenix.kafka.consumer.PhoenixConsumer.<init>(PhoenixConsumer.java:68)
> 	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:239)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:153)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message