[
https://issues.apache.org/jira/browse/KAFKA-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293497#comment-15293497
]
Joseph Lawson commented on KAFKA-2450:
--------------------------------------
Turns out I had my $CLASSPATH set. Unsetting that fixed it.
> Kafka 0.8.2.1 kafka-console-consumer.sh broken
> ----------------------------------------------
>
> Key: KAFKA-2450
> URL: https://issues.apache.org/jira/browse/KAFKA-2450
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.8.2.1
> Environment: Linux 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12
> 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> java version "1.7.0_79"
> OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
> OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
> Reporter: Yu Jin
> Assignee: Manikumar Reddy
> Priority: Critical
> Fix For: 0.9.0.0
>
>
> root@ip-172-31-21-168:/opt/kafka# bin/kafka-console-consumer.sh
> Exception in thread "main" java.lang.NoSuchMethodError:
> kafka.utils.CommandLineUtils$.printUsageAndDie(Ljoptsimple/OptionParser;Ljava/lang/String;)V
> at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:88)
> at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)