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

Switch to Plain View
Kafka, mail # dev - [jira] [Commented] (KAFKA-876) Produce request: Leader not local for partition [test,0] on broker 0


+
Jun Rao 2013-04-26, 04:14
Copy link to this message
-
[jira] [Commented] (KAFKA-876) Produce request: Leader not local for partition [test,0] on broker 0
"Rob Withers 2013-04-27, 14:54

    [ https://issues.apache.org/jira/browse/KAFKA-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643695#comment-13643695 ]

Rob Withers commented on KAFKA-876:
-----------------------------------

I may try to get into work, tomorrow, and check it out, or it will be Monday.  I cannot run kafka8 under cygwin or dos here at home.  Here is the inane error I get under dos:

c:\rob\comp\workspace\kafka\bin>windows\zookeeper-server-start.bat ..\config\zookeeper.properties
c:\rob\comp\workspace\kafka\bin\..
The system cannot find the path specified.

I thought it was kidding, the first time I saw it.

thanks,
rob
                
> Produce request: Leader not local for partition [test,0] on broker 0
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-876
>                 URL: https://issues.apache.org/jira/browse/KAFKA-876
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients, replication
>    Affects Versions: 0.8
>         Environment: Windows
>            Reporter: Yin Yin
>            Assignee: Neha Narkhede
>            Priority: Blocker
>
> Follow the quick start to open zookeeper, one broker, one producer and one consumer. In the producer console, there is an LeaderNotAvailableException for the first message, and the broker complains "Produce request: Leader not local for partition [test,0] on broker 0" for all following messages.
> Kafka-List-Topic shows "[2013-04-25 10:21:24,689] INFO zookeeper state changed (SyncConnected) (org.I0Itec.zkclient.ZkClient) topic: test     partition: 0    leader: 0       replicas: 0     isr: 0". With --unavailable-partitions option, it doesn't list any topic.
> =========================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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

 
+
Jun Rao 2013-04-30, 15:44
+
Rob Withers 2013-05-11, 00:47