java.io.IOException: Failed to open native connection to Cassandra at {**.**.246, **.**.10}:9042

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via DataStax JIRA by Ben Teeuwen, 1 year ago
Failed to open native connection to Cassandra at {**.**.246, **.**.10}:9042
via DataStax JIRA by Ben Teeuwen, 1 year ago
Failed to open native connection to Cassandra at {**.**.246, **.**.10}:9042
via GitHub by webstergd
, 1 year ago
Failed to open native conne ction to Cassandra at {10.0.4.80, 10.0.4.81, 10.0.4.82}:9042
via GitHub by carreymu
, 1 year ago
Failed to open native connection to Cassandra at {192.168.211.128}:9042
via Stack Overflow by baju
, 2 years ago
Failed to open native connection to Cassandra at {0.0.0.0}:9042
via Stack Overflow by Bharat
, 2 years ago
Failed to open native connection to Cassandra at {127.0.0.1}:9042
java.io.IOException: Failed to open native connection to Cassandra at {**.**.246, **.**.10}:9042
at com.datastax.driver.core.Connection.initAsync(Connection.java:177)
at com.datastax.driver.core.Connection$Factory.open(Connection.java:731)
at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:251)
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:199)
at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1414)
at com.datastax.spark.connector.cql.CassandraConnector$.com$datastax$spark$connector$cql$CassandraConnector$$createSession(CassandraConnector.scala:155)
at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:148)
at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:148)
at com.datastax.spark.connector.cql.RefCountedCache.createNewValueAndKeys(RefCountedCache.scala:31)
at com.datastax.spark.connector.cql.RefCountedCache.acquire(RefCountedCache.scala:56)
at com.datastax.spark.connector.cql.CassandraConnector.openSession(CassandraConnector.scala:81)
at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
at org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
at org.apache.spark.scheduler.Task.run(Task.scala:89)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.