You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Francesco laTorre <fr...@openbet.com> on 2016/09/12 14:53:58 UTC
no kafka controllers in zookeeper
Hi guys,
Pretty new to kafka and having sporadic issues with replication.
Running Kafka *0.8.2.1 *:
$> find ./libs/ -name \*kafka_\* | head -1 | grep -o '\kafka[^\n]*'
kafka_2.11-0.8.2.1-scaladoc.jar
on a cluster of *3 brokers* :
$> ./zookeeper-shell.sh localhost:19374
Connecting to localhost:19374
Welcome to ZooKeeper!
JLine support is disabled
WATCHER::
WatchedEvent state:SyncConnected type:None path:null
*ls /brokers/ids
*
*[1, 2, 3] *
is it normal that zookeeper reports no controllers :
[...]
*ls /controller *
*[] *
Or am I missing anything in the configuration ?
Cheers,
Francesco
--
Re: no kafka controllers in zookeeper
Posted by Francesco laTorre <fr...@openbet.com>.
Hi,
*get* /controller
is the way to go, thought there should have been children.
Cheers,
Francesco
On 13 September 2016 at 15:29, Francesco laTorre <
francesco.latorre@openbet.com> wrote:
> Hi,
>
> Anyone else finding this weird ?
>
> Cheers,
> Francesco
>
> On 12 September 2016 at 15:53, Francesco laTorre <
> francesco.latorre@openbet.com> wrote:
>
>> Hi guys,
>>
>> Pretty new to kafka and having sporadic issues with replication.
>> Running Kafka *0.8.2.1 *:
>>
>> $> find ./libs/ -name \*kafka_\* | head -1 | grep -o '\kafka[^\n]*'
>> kafka_2.11-0.8.2.1-scaladoc.jar
>>
>> on a cluster of *3 brokers* :
>>
>> $> ./zookeeper-shell.sh localhost:19374
>> Connecting to localhost:19374
>>
>>
>> Welcome to ZooKeeper!
>>
>>
>> JLine support is disabled
>>
>>
>>
>>
>>
>> WATCHER::
>>
>>
>>
>>
>>
>> WatchedEvent state:SyncConnected type:None path:null
>>
>>
>> *ls /brokers/ids
>>
>> *
>> *[1, 2, 3] *
>>
>> is it normal that zookeeper reports no controllers :
>>
>> [...]
>>
>> *ls /controller *
>>
>>
>> *[] *
>>
>> Or am I missing anything in the configuration ?
>>
>> Cheers,
>> Francesco
>>
>> --
>>
>>
>>
>
>
> --
> <http://www.openbet.com/> Francesco laTorre
> Senior Developer
> T: +44 208 742 1600
> +44 203 249 8394
>
> E: francesco.latorre@openbet.com
> W: www.openbet.com
> OpenBet Ltd
> Chiswick Park Building 9
> 566 Chiswick High Rd
> London
> W4 5XT
> <https://www.openbet.com/email_promo>
> This message is confidential and intended only for the addressee. If you
> have received this message in error, please immediately notify the
> postmaster@openbet.com and delete it from your system as well as any
> copies. The content of e-mails as well as traffic data may be monitored by
> OpenBet for employment and security purposes. To protect the environment
> please do not print this e-mail unless necessary. OpenBet Ltd. Registered
> Office: Chiswick Park Building 9, 566 Chiswick High Road, London, W4 5XT,
> United Kingdom. A company registered in England and Wales. Registered no.
> 3134634. VAT no. GB927523612
>
>
--
<http://www.openbet.com/> Francesco laTorre
Senior Developer
T: +44 208 742 1600
+44 203 249 8394
E: francesco.latorre@openbet.com
W: www.openbet.com
OpenBet Ltd
Chiswick Park Building 9
566 Chiswick High Rd
London
W4 5XT
<https://www.openbet.com/email_promo>
This message is confidential and intended only for the addressee. If you
have received this message in error, please immediately notify the
postmaster@openbet.com and delete it from your system as well as any
copies. The content of e-mails as well as traffic data may be monitored by
OpenBet for employment and security purposes. To protect the environment
please do not print this e-mail unless necessary. OpenBet Ltd. Registered
Office: Chiswick Park Building 9, 566 Chiswick High Road, London, W4 5XT,
United Kingdom. A company registered in England and Wales. Registered no.
3134634. VAT no. GB927523612
Re: no kafka controllers in zookeeper
Posted by Francesco laTorre <fr...@openbet.com>.
Hi,
Anyone else finding this weird ?
Cheers,
Francesco
On 12 September 2016 at 15:53, Francesco laTorre <
francesco.latorre@openbet.com> wrote:
> Hi guys,
>
> Pretty new to kafka and having sporadic issues with replication.
> Running Kafka *0.8.2.1 *:
>
> $> find ./libs/ -name \*kafka_\* | head -1 | grep -o '\kafka[^\n]*'
> kafka_2.11-0.8.2.1-scaladoc.jar
>
> on a cluster of *3 brokers* :
>
> $> ./zookeeper-shell.sh localhost:19374
> Connecting to localhost:19374
>
>
> Welcome to ZooKeeper!
>
>
> JLine support is disabled
>
>
>
>
>
> WATCHER::
>
>
>
>
>
> WatchedEvent state:SyncConnected type:None path:null
>
>
> *ls /brokers/ids
>
> *
> *[1, 2, 3] *
>
> is it normal that zookeeper reports no controllers :
>
> [...]
>
> *ls /controller *
>
>
> *[] *
>
> Or am I missing anything in the configuration ?
>
> Cheers,
> Francesco
>
> --
>
>
>
--
<http://www.openbet.com/> Francesco laTorre
Senior Developer
T: +44 208 742 1600
+44 203 249 8394
E: francesco.latorre@openbet.com
W: www.openbet.com
OpenBet Ltd
Chiswick Park Building 9
566 Chiswick High Rd
London
W4 5XT
<https://www.openbet.com/email_promo>
This message is confidential and intended only for the addressee. If you
have received this message in error, please immediately notify the
postmaster@openbet.com and delete it from your system as well as any
copies. The content of e-mails as well as traffic data may be monitored by
OpenBet for employment and security purposes. To protect the environment
please do not print this e-mail unless necessary. OpenBet Ltd. Registered
Office: Chiswick Park Building 9, 566 Chiswick High Road, London, W4 5XT,
United Kingdom. A company registered in England and Wales. Registered no.
3134634. VAT no. GB927523612