Hi All - I'm getting this error:

Error: com.datastax.oss.driver.api.core.NoNodeAvailableException: No node was available to execute the query com.datastax.oss.driver.api.core.NoNodeAvailableException: No node was available to execute the query         at com.datastax.oss.driver.api.core.NoNodeAvailableException.copy(NoNodeAvailableException.java:40)         at com.datastax.oss.driver.internal.core.util.concurrent.CompletableFutures.getUninterruptibly(CompletableFutures.java:149)         at com.datastax.oss.driver.internal.core.cql.CqlPrepareSyncProcessor.process(CqlPrepareSyncProcessor.java:59)         at com.datastax.oss.driver.internal.core.cql.CqlPrepareSyncProcessor.process(CqlPrepareSyncProcessor.java:31)         at com.datastax.oss.driver.internal.core.session.DefaultSession.execute(DefaultSession.java:230)         at com.datastax.oss.driver.api.core.cql.SyncCqlSession.prepare(SyncCqlSession.java:224)

This is coming from the code:

ResultSet rs = session.execute(getFieldValueAndCount.bind().setString(0, rb.getSource()).setString(1, rb.getFieldName()));

The session connect (application.conf):

datastax-java-driver {
  basic.request.timeout = 60 seconds
  basic.request.consistency = ONE
  basic.contact-points = ["172.16.110.3:9042", "172.16.110.4:9042", "172.16.100.253:9042", "172.16.100.254:9042"]
  request.timeout = 60 seconds
  basic.load-balancing-policy {
        local-datacenter = datacenter1
  }
}

Any ideas?  nodetool status:

Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address         Load       Tokens       Owns    Host ID                               Rack UN  172.16.100.224  178 GiB    512          ?      8ba646ac-2b33-49de-a220-ae9842f18806  rack1 UN  172.16.100.208  137.5 GiB  384          ?      4e0ba42f-649b-425a-857a-34497eb3036e  rack1 UN  172.16.100.225  85.15 GiB  512          ?      247f3d70-d13b-4d68-9a53-2ed58e01a63e  rack1 UN  172.16.110.3    62.33 GiB  768          ?      0abea102-06d2-4309-af36-a3163e8f00d8  rack1 UN  172.16.110.4    170.11 GiB  512          ?      2a5ae735-6304-4e99-924b-44d9d5ec86b7  rack1 UN  172.16.100.253  20.44 GiB  128          ?      6b528b0b-d7f7-4378-bba8-1857802d4f18  rack1 UN  172.16.100.254  38.91 GiB  256          ?      87d0cb48-a57d-460e-bd82-93e6e52e93ea  rack1

Note: Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless

Thank you!

-Joe


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org

Reply via email to