java.io.IOException: Failed to open native connection to Cassandra at {192.168.11.2}:9042

qiita.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    spark + cassandraの始め方 - Qiita

    qiita.com | 7 months ago
    java.io.IOException: Failed to open native connection to Cassandra at {192.168.11.2}:9042
  2. 0

    Spark broadcasting cassandra Connector

    Stack Overflow | 2 years ago | baju
    java.io.IOException: Failed to open native connection to Cassandra at {0.0.0.0}:9042

    Root Cause Analysis

    1. 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()
    2. spark-cassandra-connector
      CassandraConnector.withSessionDo
      1. com.datastax.spark.connector.cql.CassandraConnector$.com$datastax$spark$connector$cql$CassandraConnector$$createSession(CassandraConnector.scala:164)
      2. com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:150)
      3. com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:150)
      4. com.datastax.spark.connector.cql.RefCountedCache.createNewValueAndKeys(RefCountedCache.scala:31)
      5. com.datastax.spark.connector.cql.RefCountedCache.acquire(RefCountedCache.scala:56)
      6. com.datastax.spark.connector.cql.CassandraConnector.openSession(CassandraConnector.scala:81)
      7. com.datastax.spark.connector.cql.CassandraConnector.withSessionDo(CassandraConnector.scala:109)
      7 frames
    3. Unknown
      $iwC.<init>
      1. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:30)
      2. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:35)
      3. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:37)
      4. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:39)
      5. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:41)
      6. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:43)
      7. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:45)
      8. $iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:47)
      9. $iwC$$iwC$$iwC$$iwC.<init>(<console>:49)
      10. $iwC$$iwC$$iwC.<init>(<console>:51)
      11. $iwC$$iwC.<init>(<console>:53)
      12. $iwC.<init>(<console>:55)
      12 frames