82400

Kafka 0.9.0.1: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

Question:

I am <a href="http://kafka.apache.org/07/quickstart.html" rel="nofollow">this official Kafka tutorial</a> to install and test kafka on Ubuntu. First, I downloaded Kafka 0.9.0.1 from here: <a href="http://ftp.cixug.es/apache/kafka/0.9.0.1/kafka-0.9.0.1-src.tgz" rel="nofollow">http://ftp.cixug.es/apache/kafka/0.9.0.1/kafka-0.9.0.1-src.tgz</a>

Then, from kafka-0.9.0.1-src, I runned this command:

bin/zookeeper-server-start.sh config/zookeeper.properties

and got the following error message:

Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

Maybe the problem is that I upgraded my Kafka from 0.8 to 0.9.0.1, and I have previously installed ZooKeeper using sudo apt-get install zookeeperd. To remove previous version of Kafka, I just deleted a directory with an old version using rm -rf kafka-0.8. Should I uninstall/install something else to be able to use Kaka-0-9-0-1?

Answer1:

You've downloaded the source package. Download the <a href="http://ftp.cixug.es/apache/kafka/0.9.0.1/kafka_2.10-0.9.0.1.tgz" rel="nofollow" title="binary">binary</a> package of Kafka and do testing.

Recommend

  • Allow CORS for static content in MVC
  • Javascript getting the value of an input in a table [duplicate]
  • Authorization Policies/Gates for Laravel 5.3 web app consuming own API w/ Passport
  • How to split a string into a list by digits? [duplicate]
  • Customize jQuery submenu positioning
  • Joining across databases with dbplyr
  • How to add multiple legend titles (columns) in ggplot
  • Can someone explain how Yii minimizing assets is supposed to work on Heroku?
  • create circular Auto Horizontal Scroll View?
  • How to reduce a DAG by replacing each longest non-branching path by an edge connecting the start and
  • How to close a WebView with double-click?
  • How to fetch asset modification history in hyperledger fabric
  • How to put an object in the air?
  • I need a PHP mySQL Login script that directs user to specific URL based on username and password
  • C++11: Why rvalue reference parameter implicitly converted to lvalue
  • Sample deviceQuery cuda program
  • How to include WYSIWYG text editor in an HTML using google script
  • Circular Left Rotation Algorithm in C#
  • cSPADE data mining in R using arulesSequences - Error while converting to “transactions” format
  • Haskell program that can handle any arbitrary deterministic finite automaton
  • How to use array in autohotkey?
  • 'Edit' function for forum posts and such
  • Disable account chooser FirebaseUI React
  • SQL Server 2012 not showing unicode character in results
  • Java .policy file - how to prevent java.util.Date() from being accessible
  • When to use the tag in the head and body section of a html page? [duplicate]
  • Create an average of multiple excel chart without the data source
  • using maven pom while creating jar:test-jar some times it says JAR will be empty - no content was ma
  • How do I add a mouse over tooltip to an Image using .DrawImage()
  • Using redis as an LRU cache for postgres
  • `$http:badreq Bad Request Configuration` - from angular post method, what is wrong here?
  • Google App Engine Datastore: Dealing with eventual consistency
  • read part of h5 dataset python
  • ssh remote server login script
  • How to call different template for different category archive page in woocommerce