cassandra java woe

Exception in thread “main” com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: dpsdev-wkr01.a.fsglobal.net/10.35.153.30:9042 (com.datastax.driver.core.exceptions.TransportException: [9042] Cannot connect))

for meant “you are connecting to it from a different host, but by default it doesn’t listen on a public facing IP address, so do¬†this

One thought on “cassandra java woe”

  1. at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:232)
    at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79)
    at com.datastax.driver.core.Cluster$Manager.negotiateProtocolVersionAndConnect(Cluster.java:1619)
    at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1537)
    at com.datastax.driver.core.Cluster.init(Cluster.java:159)
    at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:330)
    at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:305)
    at com.datastax.driver.core.Cluster.connect(Cluster.java:247)
    at org.Yo.main(Yo.java:23)

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.