You may need to open up your run-class.sh in a text editor and modify the
classpath -- I believe I had a similar error before.

On Mon, Jul 13, 2015 at 1:16 PM, Yuheng Du <yuheng.du.h...@gmail.com> wrote:

> Hi guys,
>
> I am trying to replicate the test of benchmarking kafka at
>
> http://engineering.linkedin.com/kafka/benchmarking-apache-kafka-2-million-writes-second-three-cheap-machines
> .
>
> When I run
>
> bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance
> test7 50000000 100 -1 acks=1 bootstrap.servers=192.168.1.1:9092
> buffer.memory=67108864 batch.size=8196
>
> and I got the following error:
> Error: Could not find or load main class
> org.apache.kafka.client.tools.ProducerPerformance
>
> What should I fix? Thank you!
>



-- 

Jiefu Gong
University of California, Berkeley | Class of 2017
B.A Computer Science | College of Letters and Sciences

jg...@berkeley.edu <elise...@berkeley.edu> | (925) 400-3427

Reply via email to