Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - java.nio.channels.ClosedChannelException


Copy link to this message
-
java.nio.channels.ClosedChannelException
Vaibhav Puranik 2012-04-27, 21:45
HI all,

We are trying out Kafka currently. We are running Kafka 0.7 on 3 EC2
instances (c1.xlarge) with one zookeeper.
The clients and servers both are on EC2.

Here is what we are getting :
   1. java.nio.channels.ClosedChannelException
   2.         at
   sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:126)
   3.         at
   sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:324)
   4.         at
   kafka.network.BoundedByteBufferSend.writeTo(BoundedByteBufferSend.scala:48)
The full exception is here:

http://pastebin.com/TnypFpCY
The Kafka broker logs doesn't have anything unusual - It's as if the
requests are not even reaching to Kafka.

Any pointers?

Regards,
Vaibhav Puranik
GumGum