com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1 (com.datastax.driver.core.TransportException: [localhost/127.0.0.1] Unexpected exception triggered (java.lang.NoSuchMethodError: com.google.common.collect.Maps.immutableEnumMap(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;)))

Google Groups | Christ Jou | 1 year ago
  1. 0

    Couldn't get Cassandra DS client working

    Google Groups | 1 year ago | Christ Jou
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1 (com.datastax.driver.core.TransportException: [localhost/127.0.0.1] Unexpected exception triggered (java.lang.NoSuchMethodError: com.google.common.collect.Maps.immutableEnumMap(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;)))
  2. 0

    Datastax Java driver no hosts avaialble exception

    GitHub | 3 years ago | ansarrafique
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /192.168.100.20 (com.datastax.driver.core.TransportException: [/192.168.100.20] Unexpected exception triggered (java.lang.NoSuchMethodError: com.google.common.collect.Maps.immutableEnumMap(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;)))
  3. 0

    Cassandra1.2.x下使用datastax java driver启动异常一例 - 软件架构设计

    myexception.cn | 12 months ago
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1 ([/127.0.0.1] Cannot connect))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 232#130769970

    GitHub | 1 year ago | 13o6
    com.yahoo.ycsb.DBException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.20.0.52 ([/10.20.0.52] Cannot connect))
  6. 0

    NoHostAvailableException in 0.3.0 for cassandra-3.2

    GitHub | 1 year ago | 13o6
    com.yahoo.ycsb.DBException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.20.0.52 ([/10.20.0.52] Cannot connect))

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.NoHostAvailableException

      All host(s) tried for query failed (tried: localhost/127.0.0.1 (com.datastax.driver.core.TransportException: [localhost/127.0.0.1] Unexpected exception triggered (java.lang.NoSuchMethodError: com.google.common.collect.Maps.immutableEnumMap(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;)))

      at com.datastax.driver.core.ControlConnection.reconnectInternal()
    2. DataStax Java Driver for Apache Cassandra - Core
      Cluster$Builder.build
      1. com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:186)
      2. com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:81)
      3. com.datastax.driver.core.Cluster$Manager.init(Cluster.java:794)
      4. com.datastax.driver.core.Cluster$Manager.access$100(Cluster.java:721)
      5. com.datastax.driver.core.Cluster.<init>(Cluster.java:82)
      6. com.datastax.driver.core.Cluster.<init>(Cluster.java:67)
      7. com.datastax.driver.core.Cluster$Builder.build(Cluster.java:690)
      7 frames
    3. com.impetus.kundera
      DSClientFactory.createPoolOrConnection
      1. com.impetus.kundera.client.cassandra.dsdriver.DSClientFactory.createPoolOrConnection(DSClientFactory.java:238)
      1 frame
    4. Kundera
      KunderaPersistence.createEntityManagerFactory
      1. com.impetus.kundera.loader.GenericClientFactory.load(GenericClientFactory.java:119)
      2. com.impetus.kundera.configure.ClientMetadataBuilder.buildClientFactoryMetadata(ClientMetadataBuilder.java:55)
      3. com.impetus.kundera.persistence.EntityManagerFactoryImpl.configureClientFactories(EntityManagerFactoryImpl.java:408)
      4. com.impetus.kundera.persistence.EntityManagerFactoryImpl.configure(EntityManagerFactoryImpl.java:161)
      5. com.impetus.kundera.persistence.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:135)
      6. com.impetus.kundera.KunderaPersistence.createEntityManagerFactory(KunderaPersistence.java:85)
      6 frames
    5. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79)
      2. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)
      2 frames
    6. com.impetus.kvapps
      AppRunner.main
      1. com.impetus.kvapps.runner.AppRunner.main(AppRunner.java:59)
      1 frame