Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> kafka.common.LeaderNotAvailableException: No leader for any partition


+
Vadim Keylis 2013-05-30, 05:50
+
Jun Rao 2013-05-30, 15:15
+
Vadim Keylis 2013-05-30, 20:33
+
Vadim Keylis 2013-05-30, 20:33
Copy link to this message
-
Re: kafka.common.LeaderNotAvailableException: No leader for any partition
Can you check if the value for zookeeper.connect is set correctly ? We
changed the name of some configs in 08, you can find the new config names
here - http://kafka.apache.org/08/configuration.html

Thanks,
Neha
On Thu, May 30, 2013 at 1:33 PM, Vadim Keylis <[EMAIL PROTECTED]> wrote:

> Your advice is appreciated
>
>
> On Thu, May 30, 2013 at 1:32 PM, Vadim Keylis <[EMAIL PROTECTED]>
> wrote:
>
> > Jun.
> > I rebuilt kafka this morning by following this steps
> >
> > > git clone https://git-wip-us.apache.org/repos/asf/kafka.git> cd kafka
> > > git checkout -b 0.8 remotes/origin/0.8
> > > ./sbt update
> > > ./sbt +package
> > > ./sbt +assembly-package-dependency
> >
> >
> > deployed to jar files kafka_2.9.2-0.8.0-SNAPSHOT.jar
>  kafka-assembly-0.8.0-SNAPSHOT-deps.jar. I used server.properties file that
> was in config with slight modifications related to zookeeper since our
> zookeeper is deployed on separate set of machine.
> >
> >
> > Now I get the following error
> >
> >
> > [2013-05-30 13:25:03,963] INFO Awaiting socket connections on
> 0.0.0.0:9092. (kafka.network.Acceptor)
> > [2013-05-30 13:25:03,964] INFO [Socket Server on Broker 1], Started
> (kafka.network.SocketServer)
> > [2013-05-30 13:25:03,971] INFO connecting to ZK: null
> (kafka.server.KafkaZooKeeper)
> > [2013-05-30 13:25:03,984] INFO Starting ZkClient event thread.
> (org.I0Itec.zkclient.ZkEventThread)
> > [2013-05-30 13:25:03,989] INFO Client
> environment:zookeeper.version=3.3.3-1203054, built on 11/17/2011 05:47 GMT
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client environment:host.name=
> danalyticspubsub01.tag-dev.com (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client environment:java.version=1.6.0_27
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client environment:java.vendor=Sun
> Microsystems Inc. (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client
> environment:java.home=/usr/java/jdk1.6.0_27/jre
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client
> environment:java.class.path=:/usr/local/kafka/bin/../core/target/scala-2.8.0/*.jar:/usr/local/kafka/bin/../perf/target/scala-2.8.0/kafka*.jar:/usr/local/kafka/bin/../libs/*.jar:/usr/local/kafka/bin/../kafka_2.9.2-0.8.0-SNAPSHOT.jar:/usr/local/kafka/bin/../kafka-assembly-0.8.0-SNAPSHOT-deps.jar
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client
> environment:java.library.path=/usr/java/jdk1.6.0_27/jre/lib/amd64/server:/usr/java/jdk1.6.0_27/jre/lib/amd64:/usr/java/jdk1.6.0_27/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client environment:java.io.tmpdir=/tmp
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client environment:java.compiler=<NA>
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client environment:os.name=Linux
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client environment:os.arch=amd64
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client
> environment:os.version=2.6.18-164.15.1.el5 (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client environment:user.name=kafka
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client environment:user.home=/home/kafka
> (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,989] INFO Client
> environment:user.dir=/usr/local/kafka (org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,990] INFO Initiating client connection,
> connectString=null sessionTimeout=6000
> watcher=org.I0Itec.zkclient.ZkClient@69236cd5(org.apache.zookeeper.ZooKeeper)
> > [2013-05-30 13:25:03,994] INFO Terminate ZkClient event thread.
> (org.I0Itec.zkclient.ZkEventThread)
> > [2013-05-30 13:25:03,996] FATAL Fatal error during KafkaServerStable
> startup. Prepare to shutdown (kafka.server.KafkaServerStartable)

 
+
Vadim Keylis 2013-05-30, 21:42
+
Gerrit Jansen van Vuuren 2014-01-29, 12:18
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB