Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> LeaderNotAvailable Exception


Copy link to this message
-
Re: LeaderNotAvailable Exception
I just tried to go through the quickstart, step by step on a Mac.  I got
the same thing (LeaderNotAvailableException).
On Thu, Apr 25, 2013 at 9:30 PM, Jun Rao <[EMAIL PROTECTED]> wrote:

> Thanks. Is anyone able to run the 0.8 quickstart without this issue on
> Windows?
>
> Jun
>
>
> On Thu, Apr 25, 2013 at 10:27 AM, Yin Yin <[EMAIL PROTECTED]> wrote:
>
> > How to make sure the code is the latest? I ran these commands. Created
> the
> > ticket KAFKA-876 for this issue. Thanks a lot
> >
> > PS C:\Projects\Kafka\kafka> git branch
> > * 0.8
> >   trunk
> > PS C:\Projects\Kafka\kafka> git pull
> > Already up-to-date.
> > PS C:\Projects\Kafka\kafka>
> >
> > =========================Broker Log=============================
> >
> > Set JMX_PORT to default value : 9999
> > C:\Projects\Kafka\kafka\bin\..
> > log4j:ERROR Failed to rename [server.log] to [server.log.2013-04-25-09].
> > [2013-04-25 10:08:49,531] INFO Verifying properties
> > (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] INFO Property socket.send.buffer.bytes is
> > overridden to 1048576 (kafka.utils.VerifiablePropert
> > ies)
> > [2013-04-25 10:08:49,578] INFO Property socket.request.max.bytes is
> > overridden to 104857600 (kafka.utils.VerifiablePrope
> > rties)
> > [2013-04-25 10:08:49,578] INFO Property log.dir is overridden to
> > /tmp/kafka-logs (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] INFO Property log.cleanup.interval.mins is
> > overridden to 1 (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] INFO Property log.retention.hours is overridden
> > to
> > 168 (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] INFO Property num.io.threads is overridden to 2
> > (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] INFO Property broker.id is overridden to 0
> > (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] WARN Property
> kafka.csv.metrics.reporter.enabled
> > is not valid (kafka.utils.VerifiablePropertie
> > s)
> > [2013-04-25 10:08:49,578] INFO Property port is overridden to 9092
> > (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] INFO Property log.flush.interval.messages is
> > overridden to 10000 (kafka.utils.VerifiableProper
> > ties)
> > [2013-04-25 10:08:49,578] INFO Property zk.connection.timeout.ms is
> > overridden to 1000000 (kafka.utils.VerifiablePropert
> > ies)
> > [2013-04-25 10:08:49,578] WARN Property kafka.metrics.reporters is not
> > valid
> > (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] WARN Property kafka.csv.metrics.dir is not
> valid
> > (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] INFO Property log.flush.interval.ms is
> > overridden
> > to 1000 (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] WARN Property
> kafka.metrics.polling.interval.secs
> > is not valid (kafka.utils.VerifiableProperti
> > es)
> > [2013-04-25 10:08:49,578] INFO Property num.network.threads is overridden
> > to
> > 2 (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] INFO Property socket.receive.buffer.bytes is
> > overridden to 1048576 (kafka.utils.VerifiableProp
> > erties)
> > [2013-04-25 10:08:49,578] INFO Property log.segment.bytes is overridden
> to
> > 536870912 (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,578] INFO Property zk.connect is overridden to
> > localhost:2181 (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,594] INFO Property num.partitions is overridden to 1
> > (kafka.utils.VerifiableProperties)
> > [2013-04-25 10:08:49,609] INFO [Kafka Server 0], starting
> > (kafka.server.KafkaServer)
> > [2013-04-25 10:08:49,625] INFO [Log Manager on Broker 0] Log directory
> > 'C:\tmp\kafka-logs' not found, creating it. (kafk
> > a.log.LogManager)
> > [2013-04-25 10:08:49,625] INFO [Log Manager on Broker 0] Starting log
> > cleaner every 60000 ms (kafka.log.LogManager)
> > [2013-04-25 10:08:49,640] INFO [Log Manager on Broker 0] Starting log
> > flusher every 3000 ms with the following overrides