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

Switch to Threaded View
Kafka, mail # user - Topic stuck with leader: none


Copy link to this message
-
Re: Topic stuck with leader: none
Benjamin Black 2013-08-02, 04:13
If you shutdown all brokers, then bring them up one at a time does it
change? Might have to do it several times.
On Aug 1, 2013 8:28 PM, "Vinicius Carvalho" <[EMAIL PROTECTED]>
wrote:

> Hi there! So, I setup a demo and forgot to create the topic. But since my
> producer is set to create topics automatic, it created one. Problem is that
> after when sending messages I got a LeaderNotAvailableException.
>
> I ran topic-list shell, and noticed that my topic had leader:none. So I
> removed and recreated it. same thing ... it does not matter how many times
> I erase it, it always recreate with no leader. Seems to be a bug somewhere
> on zookeeper config. ANY other topic that I create, gets a leader, but if I
> repeat the experiment (try to send a message to a non existing topic) it
> gets created without a leader and I'm never able to delete it and recreate
> properly ...
>
> Any ideas?
>
> Regards
>
> --
> The intuitive mind is a sacred gift and the
> rational mind is a faithful servant. We have
> created a society that honors the servant and
> has forgotten the gift.
>