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 >> reassign Partition leader


+
Eureka 2013-04-25, 14:17
Copy link to this message
-
Re: reassign Partition leader
Yes, there is an admin tool PreferredReplicaLeaderElectionCommand that you
can run.

Thanks,

Jun
On Thu, Apr 25, 2013 at 12:49 AM, Eureka <[EMAIL PROTECTED]> wrote:

> Hi All,
>
> Here is my test scenario.
>
> There are two broker(A,B) and make one topic which has two partition.
>
> and then, A is leader of partition #0 and B is leader of partition #1.
>
> Producer and consumer work well.
>
> If, B broker is down, A become leader of partition #0 and #1.
>
> That is good. and work well.
>
> But, When broker B run again, B is not leader of #1. Broker A receive all
> messages.
>
> In that case,
>
> I want to reassign a leader of partition #1 from A to B.
>
> Is it possible??
>
> Thanks~ :)
>

 
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