Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Issue with Java Driver and Netty
java.lang.RuntimeException: Error calling eventfd_write(...): Bad file descriptor
at io.netty.channel.epoll.Native.eventFdWrite(Native Method)
at io.netty.channel.epoll.EpollEventLoop.wakeup(EpollEventLoop.java:119)
at io.netty.util.concurrent.SingleThreadEventExecutor.shutdownGracefully(SingleThreadEventExecutor.java:561)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.shutdownGracefully(MultithreadEventExecutorGroup.java:146)
at com.datastax.driver.core.NettyOptions.onClusterClose(NettyOptions.java:200)
at com.datastax.driver.core.Connection$Factory.shutdown(Connection.java:825)
at com.datastax.driver.core.Cluster$Manager$ClusterCloseFuture$1.run(Cluster.java:2303)
@noorul

This comment has been minimized.

Copy link

noorul commented Jan 10, 2018

I am seeing the same exception in my application. When I googled, I found this gist. I hope you might have found a solution for this. If so do you mind sharing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.