akka.actor.ActorInitializationException

exception during creation

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web145

  • via Unknown by Unknown author,
  • Stack trace

    • akka.actor.ActorInitializationException: exception during creation at akka.actor.ActorInitializationException$.apply(Actor.scala:166)[akka-actor_2.10-2.3.11.jar:na] at akka.actor.ActorCell.create(ActorCell.scala:596)[akka-actor_2.10-2.3.11.jar:na] at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:456)[akka-actor_2.10-2.3.11.jar:na] at akka.actor.ActorCell.systemInvoke(ActorCell.scala:478)[akka-actor_2.10-2.3.11.jar:na] at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:263)[akka-actor_2.10-2.3.11.jar:na] at akka.dispatch.Mailbox.run(Mailbox.scala:219)[akka-actor_2.10-2.3.11.jar:na] at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)[akka-actor_2.10-2.3.11.jar:na] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[scala-library-2.10.5.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[scala-library-2.10.5.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[scala-library-2.10.5.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[scala-library-2.10.5.jar:na] Caused by: 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:181)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:167)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:167)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.cql.RefCountedCache.createNewValueAndKeys(RefCountedCache.scala:31)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.cql.RefCountedCache.acquire(RefCountedCache.scala:56)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.cql.CassandraConnector.openSession(CassandraConnector.scala:76)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.cql.CassandraConnector.withSessionDo(CassandraConnector.scala:104)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.cql.CassandraConnector.withClusterDo(CassandraConnector.scala:115)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.cql.Schema$.fromCassandra(Schema.scala:243)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.writer.TableWriter$.apply(TableWriter.scala:182)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.spark.connector.streaming.DStreamFunctions.saveToCassandra(DStreamFunctions.scala:32)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] at com.datastax.killrweather.KafkaStreamingActor.<init>(KafkaStreamingActor.scala:45)[classes/:na] at com.datastax.killrweather.NodeGuardian$$anonfun$1.apply(NodeGuardian.scala:42)[classes/:na] at com.datastax.killrweather.NodeGuardian$$anonfun$1.apply(NodeGuardian.scala:42)[classes/:na] at akka.actor.TypedCreatorFunctionConsumer.produce(Props.scala:343)[akka-actor_2.10-2.3.11.jar:na] at akka.actor.Props.newActor(Props.scala:252)[akka-actor_2.10-2.3.11.jar:na] at akka.actor.ActorCell.newActor(ActorCell.scala:552)[akka-actor_2.10-2.3.11.jar:na] at akka.actor.ActorCell.create(ActorCell.scala:578)[akka-actor_2.10-2.3.11.jar:na] ... 9 more Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table schema_keyspaces)) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:223)[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:78)[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1230)[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:333)[cassandra-driver-core-2.1.5.jar:na] at com.datastax.spark.connector.cql.CassandraConnector$.com$datastax$spark$connector$cql$CassandraConnector$$createSession(CassandraConnector.scala:174)[spark-cassandra-connector_2.10-1.3.0-M1.jar:1.3.0-M1] ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    33 more bugmates