Re: topic=LEADER_NOT_AVAILABLE
I'm afraid it does. And I am not an owner of the cloud. It seems like a zookeeper error, maybe? Does it need special configuration in such an environment? I'll figure it out eventually but any help would be greatly appreciated. On Apr 28, 2016 12:26 AM, "Oliver Pačut" <oliver.pa...@gmail.com> wrote: > I'm afraid it does. And I am not an owner of the cloud. It seems like a > zookeeper error, maybe? Does it need special configuration in such an > environment? I'll figure it out eventually but any help would be greatly > appreciated. >
topic=LEADER_NOT_AVAILABLE
Hello, I am trying to run a simple kafka cluster on an OpenNebula cloud. I am using the 0.9.0. Kafka binary. Each time I try to connect to the broker (from localhost or from a different machine), I get this error: [kafka-producer-network-thread | producer-1] DEBUG o.apache.kafka.clients.NetworkClient - Sending metadata request ClientRequest(expectResponse=true, callback=null, request=RequestSend(header={api_key=3,api_version=0,correlation_id=7,client_id=producer-1}, body={topics=[test2]}), isInitiatedByNetworkClient, createdTimeMs=1461688260916, sendTimeMs=0) to node -1 [kafka-producer-network-thread | producer-1] WARN o.apache.kafka.clients.NetworkClient - Error while fetching metadata with correlation id 7 : {test2=LEADER_NOT_AVAILABLE} my zookeeper configuration file is unchanged from default (only the data path) and my server configuration is different in these fields: port = 9090 host.name = The zookeeper and the server are both running on the same nachine. I unlocked firewall ports 2181 and 9090 both. The producer and consumer are configured correctly, as they worked on a different system (my home laptop). Am I missing some important configuration? Thanks in advance, Oliver Pacut
Re: Gradle build error
I have Gradle 1.4, Groovy 1.8.6, Ant 1.9.3. I followed the included Readme. I cd'd to the kafka directory and just wrote "gradle". I also tried running "./bin/kafka-server-start.sh ./config/server.properties" And that gets me the error "Could not find or load main class Kafka.kafka" Oliver > What version of Gradle are you using and can you give the exact command > you're running? > > -Ewen > > On Wed, Dec 23, 2015 at 5:49 PM, Oliver Pačut <oliver.pa...@gmail.com> > wrote: > > > Hello, > > > > I am having trouble using Gradle to build Kafka. I get the error: > > > > > > FAILURE: Build failed with an exception. > > > > *Where: > > Build file '/home/user/Desktop/kafka/build.gradle' line: 163 > > > > * What went wrong: > > A problem occurred evaluating root project 'kafka'. > > > Could not find property 'ScalaPlugin' on project ':clients'. > > > > > > I've tried reinstalling gradle and re-downloading Kafka, to no success. I > > have trouble understanding what exactly I am supposed to do; what is the > > error. > > > > Thank You in advance and Merry Christmas, > > > > O.P. > > > > > > -- > Thanks, > Ewen
Gradle build error
Hello, I am having trouble using Gradle to build Kafka. I get the error: FAILURE: Build failed with an exception. *Where: Build file '/home/user/Desktop/kafka/build.gradle' line: 163 * What went wrong: A problem occurred evaluating root project 'kafka'. > Could not find property 'ScalaPlugin' on project ':clients'. I've tried reinstalling gradle and re-downloading Kafka, to no success. I have trouble understanding what exactly I am supposed to do; what is the error. Thank You in advance and Merry Christmas, O.P.