Skip to content

Instantly share code, notes, and snippets.

@msilvey
Created December 9, 2015 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msilvey/eb0fa1d92d17288226a0 to your computer and use it in GitHub Desktop.
Save msilvey/eb0fa1d92d17288226a0 to your computer and use it in GitHub Desktop.
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
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