Exception in thread "Shutdown-checker" java.lang.RuntimeException: eventfd_write() failed: Bad file descriptor

168 views
Skip to first unread message

Noorul Islam Kamal Malmiyoda

unread,
Jan 10, 2018, 3:59:09 AM1/10/18
to DataStax Spark Connector for Apache Cassandra
Hi all,

I am getting the following exception. I am not able to track down exact reason for this. Any help is appreciated.

Thanks and Regards
Noorull

17/11/14 16:50:09 SPARK_APP WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
17/11/14 16:50:17 SPARK_APP WARN SparkContext: Use an existing SparkContext, some configuration may not take effect.
[Stage 4:> (13 + 1) / 200][Stage 5:> (1 + 0) / 8][Stage 8:> (0 + 0) / 8]Exception in thread "Shutdown-checker" java.lang.RuntimeException: eventfd_write() failed: Bad file descriptor
at io.netty.channel.epoll.Native.eventFdWrite(Native Method)
at io.netty.channel.epoll.EpollEventLoop.wakeup(EpollEventLoop.java:106)
at io.netty.util.concurrent.SingleThreadEventExecutor.shutdownGracefully(SingleThreadEventExecutor.java:538)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.shutdownGracefully(MultithreadEventExecutorGroup.java:146)
at io.netty.util.concurrent.AbstractEventExecutorGroup.shutdownGracefully(AbstractEventExecutorGroup.java:69)
at com.datastax.driver.core.NettyOptions.onClusterClose(NettyOptions.java:193)
at com.datastax.driver.core.Connection$Factory.shutdown(Connection.java:902)
at com.datastax.driver.core.Cluster$Manager$ClusterCloseFuture$1.run(Cluster.java:2539)

Noorul Islam K M

unread,
Jan 11, 2018, 11:31:28 PM1/11/18
to DataStax Spark Connector for Apache Cassandra

Hi all,

It will be great if someone can help me to find a solution for this.

Regards
Noorul

Russell Spitzer

unread,
Jan 12, 2018, 1:11:13 AM1/12/18
to spark-conn...@lists.datastax.com
Do you have any other information? What version you are running, os? Possible netty conflicts? Its unclear from your message is the error on the executor or on the driver? What happens after you see this message?

--
You received this message because you are subscribed to the Google Groups "DataStax Spark Connector for Apache Cassandra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spark-connector-...@lists.datastax.com.



--

Russell Spitzer
Software Engineer




DS_Sig2.png

Russell Spitzer

unread,
Jan 12, 2018, 1:13:11 AM1/12/18
to spark-conn...@lists.datastax.com
I think I may have seen this before. But it was a result of the cluster shutting down immediately after starting, basically the connection started getting closed before all of it's primitives were done being setup.
Reply all
Reply to author
Forward
0 new messages