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
All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.TransportException: [/127.0.0.1:9042] Cannot connect))
via DataStax JIRA by Piotr Kołaczkowski, 2 years ago
All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.TransportException: [/127.0.0.1:9042] Cannot connect))
via Stack Overflow by Mohamed Said Benmousa
, 1 year ago
All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.ConnectionException: [/127.0.0.1:9042] Unexpected error during transport initialization (com.datastax.driver.core.TransportException: [/127.0.0.1:9042] Connection has been closed)))
via Stack Overflow by Mohamed Said Benmousa
, 1 year ago
All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table schema_keyspaces))
via Stack Overflow by Uttam Kasundara
, 1 year ago
All host(s) tried for query failed (tried: /192.168.0.52:9042 (com.datastax.driver.core.exceptions.TransportException: [/192.168.0.52] Connection has been closed))
via GitHub by gkericks
, 2 years ago
All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table schema_keyspaces))
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.TransportException: [/127.0.0.1:9042] Cannot connect))	at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:223)	at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:78)	at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1230)	at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:333)	at com.datastax.spark.connector.cql.CassandraConnector$.com$datastax$spark$connector$cql$CassandraConnector$$createSession(CassandraConnector.scala:148)	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)