java.io.IOException: Failed to open native connection to Cassandra at {192.168.11.2}: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 qiita.com by Unknown author, 1 year ago
Failed to open native connection to Cassandra at {192.168.11.2}:9042
via Stack Overflow by baju
, 2 years ago
Failed to open native connection to Cassandra at {0.0.0.0}: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 Bharat
, 2 years ago
Failed to open native connection to Cassandra at {127.0.0.1}:9042
via xluat.com by Unknown author, 2 years ago
Failed to open native connection to Cassandra at {127.0.0.1}:9042
via DataStax JIRA by Kaushal Prajapati, 1 year ago
Failed to open native connection to Cassandra at {192.168.1.17}:9042
java.io.IOException: Failed to open native connection to Cassandra at {192.168.11.2}:9042
at com.datastax.spark.connector.cql.CassandraConnector$.com$datastax$spark$connector$cql$CassandraConnector$$createSession(CassandraConnector.scala:164)
at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:150)
at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:150)
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 com.datastax.spark.connector.cql.CassandraConnector.withSessionDo(CassandraConnector.scala:109)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:30)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:35)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:37)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:39)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:41)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:43)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:45)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC.(:47)
at undefined.$iwC$$iwC$$iwC$$iwC.(:49)
at undefined.$iwC$$iwC$$iwC.(:51)
at undefined.$iwC$$iwC.(:53)

Users with the same issue

You are the first who have seen this exception.

Write tip

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