RE: ZkClient throwing NPEs

2015-09-24 Thread Hema Bhatia
sday, September 24, 2015 1:35 PM To: users@kafka.apache.org Subject: Re: ZkClient throwing NPEs Hey Hema, I'm a little surprised you're seeing this so frequently. Do you know why the zookeeper connection is so unstable? If not, then it might be worthwhile investigating a little bit to se

Re: ZkClient throwing NPEs

2015-09-24 Thread Jason Gustafson
4, 2015 12:21 PM > To: users@kafka.apache.org > Subject: Re: ZkClient throwing NPEs > > Hey Hema, > > I'm not too familiar with ZkClient, but I took a look at the code and it > seems like there may still be a race condition around reconnects which > could cause the NPE you&#x

RE: ZkClient throwing NPEs

2015-09-24 Thread Hema Bhatia
, 2015 12:21 PM To: users@kafka.apache.org Subject: Re: ZkClient throwing NPEs Hey Hema, I'm not too familiar with ZkClient, but I took a look at the code and it seems like there may still be a race condition around reconnects which could cause the NPE you're seeing. I left a comment on

Re: ZkClient throwing NPEs

2015-09-24 Thread Jason Gustafson
To: users@kafka.apache.org > Subject: ZkClient throwing NPEs > > Hi, > > I keep getting the below exception when Kafka tries to connect to > zookeeper and zookeeper is momentarily not able to connect. After that, > connection does not restore unless we restart the s

RE: ZkClient throwing NPEs

2015-09-24 Thread Hema Bhatia
Can anyone help with the below issue... Thanks. -Original Message- From: Hema Bhatia [mailto:hema.bha...@apollo.edu] Sent: Tuesday, September 22, 2015 12:57 PM To: users@kafka.apache.org Subject: ZkClient throwing NPEs Hi, I keep getting the below exception when Kafka tries to connect

ZkClient throwing NPEs

2015-09-22 Thread Hema Bhatia
Hi, I keep getting the below exception when Kafka tries to connect to zookeeper and zookeeper is momentarily not able to connect. After that, connection does not restore unless we restart the servers. This may be connected to this issue : https://issues.apache.org/jira/browse/KAFKA-824 But I a