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 Piotr Kołaczkowski, 1 year ago
Failed to open native connection to Cassandra at {127.0.0.1}:9042
via DataStax JIRA by Piotr Kołaczkowski, 1 year ago
Failed to open native connection to Cassandra at {127.0.0.1}:9042
via GitHub by gkericks
, 1 year ago
Failed to open native connection to Cassandra at {127.0.0.1}: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 Stack Overflow by baju
, 2 years ago
Failed to open native connection to Cassandra at {0.0.0.0}:9042
java.io.IOException: Failed to open native connection to Cassandra at {127.0.0.1}:9042	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:141)	at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:141)	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:73)	at com.datastax.spark.connector.cql.CassandraConnector.withSessionDo(CassandraConnector.scala:101)	at com.datastax.spark.connector.cql.CassandraConnector.withClusterDo(CassandraConnector.scala:112)	at com.datastax.spark.connector.cql.Schema$.fromCassandra(Schema.scala:243)	at org.apache.spark.sql.cassandra.CassandraSourceRelation.(CassandraSourceRelation.scala:39)	at org.apache.spark.sql.cassandra.CassandraSourceRelation$.apply(CassandraSourceRelation.scala:168)	at org.apache.spark.sql.cassandra.DefaultSource.createRelation(DefaultSource.scala:57)	at org.apache.spark.sql.sources.ResolvedDataSource$.apply(ddl.scala:219)	at org.apache.spark.sql.sources.CreateTempTableUsing.run(ddl.scala:308)	at org.apache.spark.sql.execution.ExecutedCommand.sideEffectResult$lzycompute(commands.scala:54)	at org.apache.spark.sql.execution.ExecutedCommand.sideEffectResult(commands.scala:54)	at org.apache.spark.sql.execution.ExecutedCommand.execute(commands.scala:64)	at org.apache.spark.sql.SQLContext$QueryExecution.toRdd$lzycompute(SQLContext.scala:1099)	at org.apache.spark.sql.SQLContext$QueryExecution.toRdd(SQLContext.scala:1099)	at org.apache.spark.sql.DataFrame.(DataFrame.scala:147)	at org.apache.spark.sql.DataFrame.(DataFrame.scala:130)	at org.apache.spark.sql.DataFrame$.apply(DataFrame.scala:51)	at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:933)	at com.datastax.spark.connector.sql.CassandraDataSourceSpec.createTempTable(CassandraDataSourceSpec.scala:50)	at com.datastax.spark.connector.sql.CassandraDataSourceSpec.beforeAll(CassandraDataSourceSpec.scala:38)	at org.scalatest.BeforeAndAfterAll$class.beforeAll(BeforeAndAfterAll.scala:187)	at com.datastax.spark.connector.sql.CassandraDataSourceSpec.beforeAll(CassandraDataSourceSpec.scala:12)	at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:253)	at com.datastax.spark.connector.sql.CassandraDataSourceSpec.run(CassandraDataSourceSpec.scala:12)	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:466)	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:677)	at sbt.ForkMain$Run$2.call(ForkMain.java:294)	at sbt.ForkMain$Run$2.call(ForkMain.java:284)	at java.util.concurrent.FutureTask.run(FutureTask.java:262)	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)