Re: Kafka Broker frequent shutdown with exception

2014-06-03 Thread rafeeq s
Hi Robert, I tried *kill -SIGTERM * comand to stop Kafka Broker but it shutdown all other brokers as well. Can you please suggest me, How can I avoid stopping other brokers ? Is there any configuration changes required ? Regards, Rafeeq S On Tue, Jun 3, 2014 at 9:40 AM, Robert Hodges w

Re: Kafka Broker frequent shutdown with exception

2014-06-03 Thread rafeeq s
Thanks, Using 'kill -SIGTERM ', can assure *No data loss* ? if yes then my problem will resolve. Thanks for your kind response! On Tue, Jun 3, 2014 at 9:40 AM, Robert Hodges wrote: > Hi Rafeeq, > > You can stop them individually by killing the processes. The > kafka-server-stop.sh comma

Re: Kafka Broker frequent shutdown with exception

2014-06-02 Thread Robert Hodges
Hi Rafeeq, You can stop them individually by killing the processes. The kafka-server-stop.sh command just uses a kill -SIGTERM if you look at the end of the script: ps ax | grep -i 'kafka\.Kafka' | grep java | grep -v grep | awk '{print $1}' | xargs kill -SIGTERM So 'kill -SIGTERM 3026' would k

Re: Kafka Broker frequent shutdown with exception

2014-06-02 Thread rafeeq s
Thanks Robert, For #2 Yes Robert, I am using kafka-server-stop.sh script to stop Brokers and it all resides on same Host with different port. Is there any way to avoid/prevent shutdown of all brokers ? Thanks for you kind response! On Mon, Jun 2, 2014 at 10:37 PM, Robert Hodges wrote: > Hi

Re: Kafka Broker frequent shutdown with exception

2014-06-02 Thread Robert Hodges
Hi Rafeeq, With respect to question #2, are you stopping brokers using kafka-server-stop.sh and are they all on a single host? If so, the script finds anything that looks like a Kafka server and should knock out all the brokers at once. If your cluster runs across multiple hosts something else i

Kafka Broker frequent shutdown with exception

2014-06-02 Thread rafeeq s
Hi I am using kafka 0.8.1 version and facing frequent issue when *kafka broker* startup/restart such as: *1.Whenever Kafka Broker restarted it gets shutdown and throws following error in all Broker nodes.* java.io.EOFException: Received -1 when reading from channel, socket has likely been clos