New topic gets stuck in bad state after Zookeeper error

2019-11-25 Thread James Brown
We have an 8-node Kafka cluster that's been running for about four years and is currently on Kafka 2.3.1. It's supported by a 3-node Zookeeper cluster running ZK 3.5.5. Last week, a topic got stuck in a weird state after it was auto-created: kafka-topics.sh didn't show any leader at all (not the

Re: Zookeeper Error

2018-02-19 Thread M. Manna
Just a heads up. Windows doesn’t cleanup logs. There’s a pull req pending for issue #1194. Regards, On Mon, 19 Feb 2018 at 09:14, Maria Pilar wrote: > Now It´s working properly, I have changed the server.id in to the > zookeeper. properties and I have created topics into

Re: Zookeeper Error

2018-02-19 Thread Maria Pilar
Yes, I made a spelling mistake. I have changed it. Thanks On 18 February 2018 at 11:49, Gerd König wrote: > Hi, > > in your message there is "locahost", but I am pretty sure you wanted to use > "localhost", including the "l", right? > This one will usually be

Re: Zookeeper Error

2018-02-19 Thread Maria Pilar
Now It´s working properly, I have changed the server.id in to the zookeeper. properties and I have created topics into mutinode. I´m using windows because it´s a simple proof of concept. Thanks On 18 February 2018 at 03:15, Ted Yu wrote: > What are the entries in

Re: Zookeeper Error

2018-02-18 Thread Gerd König
Hi, in your message there is "locahost", but I am pretty sure you wanted to use "localhost", including the "l", right? This one will usually be resolvable, hence doesn't throw an unknownHostException Regards Maria Pilar schrieb am So., 18. Feb. 2018, 02:49: > When i try

Re: Zookeeper Error

2018-02-17 Thread Maria Pilar
Yes, i have included the server.id into zookeeper.properties and it´s working fine. Thanks On 18 February 2018 at 03:15, Ted Yu wrote: > What are the entries in /etc/hosts w.r.t. localhost ? > > I wonder if the exception had something to do with ipv6. > > On Sat, Feb 17,

Re: Zookeeper Error

2018-02-17 Thread Ted Yu
What are the entries in /etc/hosts w.r.t. localhost ? I wonder if the exception had something to do with ipv6. On Sat, Feb 17, 2018 at 5:49 PM, Maria Pilar wrote: > When i try to create a topic in that multicluster, > > kafka-topics.bat --create --topic my-kafka-topic

Re: Zookeeper Error

2018-02-17 Thread Maria Pilar
When i try to create a topic in that multicluster, kafka-topics.bat --create --topic my-kafka-topic --zookeeper locahost:2181 --replication-factor 2 --partitions 3 i have received the same error Exception in thread "main" org.I0Itec.zkclient.exception.ZkException: Unable to connect to

Zookeeper Error

2018-02-17 Thread Maria Pilar
Hi I´m trying to configure a multinode cluster in kafka. I have configured each server.properties according with the new properties for each server. When i start each server, the zookeeper console shows that error. INFO Got user-level KeeperException when processing sessionid:0x161a690f731