Can you pls clarify when you say you start one pair (Zookeeper and Kafka),
what happens to the others. Do you keep them down?




LinkedIn * 
https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
<https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>*





*Disclaimer:* Use it at your own risk. Any and all responsibility for any
loss, damage or destruction of data or any other property which may arise
from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from
such loss, damage or destruction.




On Mon, 19 Oct 2020 at 17:33, Sabina Marx <sabina.m...@sneo.io> wrote:

> Yes, it's a new setup. The kafka and zookeeper runs as services and are
> enabled, so they should start at system start. And kafka starts after
> zookeeper.
> And if I stop everything and start it, then it works. But then, if I
> restart one server with zookeeper and kafka the kafka gets the timeouts.
>
> Am 19.10.20, 18:16 schrieb "Mich Talebzadeh" <mich.talebza...@gmail.com>:
>
>     OK so the issue seems to be kafka cluster. Is this a new setup?
>
>     HTH
>
>
>
>     LinkedIn *
> https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
>     <
> https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
> >*
>
>
>
>
>
>     *Disclaimer:* Use it at your own risk. Any and all responsibility for
> any
>     loss, damage or destruction of data or any other property which may
> arise
>     from relying on this email's technical content is explicitly
> disclaimed.
>     The author will in no case be liable for any monetary damages arising
> from
>     such loss, damage or destruction.
>
>
>
>
>     On Mon, 19 Oct 2020 at 17:11, Sabina Marx <sabina.m...@sneo.io> wrote:
>
>     > Thanks for your answer, but the zookeeper ensemble is running and
> ports
>     > are ok.
>     >
>     > Am 19.10.20, 17:38 schrieb "Mich Talebzadeh" <
> mich.talebza...@gmail.com>:
>     >
>     >     Start the zookeeper ensemble first before starting Kafka
> cluster. They
>     > need
>     >     to select a leader and ensure that they all come online OK.
> Check port
>     >     2181, 2888, 3888 using
>     >
>     >      netstat -plten|egrep '2181|2888|3888'
>     >
>     >     tcp        0      0 :::2181                     :::*
>     >     LISTEN      1005       9934134    29170/java
>     >     tcp        0      0 ::ffff:50.140.197.217:2888  :::*
>     >     LISTEN      1005       9935496    29170/java
>     >     tcp        0      0 ::ffff:50.140.197.217:3888  :::*
>     >     LISTEN      1005       9935493    29170/java
>     >
>     >
>     >
>     >     P.S. I assume you are talking about Apache Kafks here.
>     >
>     >     HTH
>     >
>     >
>     >
>     >     LinkedIn *
>     >
> https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
>     >     <
>     >
> https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
>     > >*
>     >
>     >
>     >
>     >
>     >
>     >     *Disclaimer:* Use it at your own risk. Any and all
> responsibility for
>     > any
>     >     loss, damage or destruction of data or any other property which
> may
>     > arise
>     >     from relying on this email's technical content is explicitly
>     > disclaimed.
>     >     The author will in no case be liable for any monetary damages
> arising
>     > from
>     >     such loss, damage or destruction.
>     >
>     >
>     >
>     >
>     >     On Mon, 19 Oct 2020 at 14:42, Sabina Marx <sabina.m...@sneo.io>
> wrote:
>     >
>     >     > Hi,
>     >     >
>     >     > I have a 5 nodes kafka cluster with 3 zookeepers. If I restart
> 1 node
>     >     > (zookeeper and kafka) the kafka gets a Client session timed
> out,
>     > have not
>     >     > heard from server in 6007ms for sessionid 0x0
>     >     > (org.apache.zookeeper.ClientCnxn)
>     >     > Client session timed out, have not heard from server in 6007ms
> for
>     >     > sessionid 0x0, closing socket connection and attempting
> reconnect
>     >     > (org.apache.zookeeper.ClientCnxn)
>     >     > And my kafka service do not start.
>     >     > I have set the tickTime=6000 in the zookeeper.properties but
> that
>     > didn’t
>     >     > help. What can I do?
>     >     >
>     >     > Many thanks for your help.
>     >     > Sabina
>     >     >
>     >
>     >
>
>

Reply via email to