“All host(s) tried for query failed” Error

前端 未结 1 1193
名媛妹妹
名媛妹妹 2020-12-31 18:50

My Java code is as follows:

import com.datastax.driver.core.Cluster;
import com.datastax.driver.core.Metadata;
import com.datastax.driver.core.Session;

publ         


        
相关标签:
1条回答
  • 2020-12-31 19:47

    Change rpc_address: 0.0.0.0 broadcast_rpc_address: 1.2.3.4 (Should not be 0.0.0.0) . for Cassandra version 2.1.10

    Also for any further issue read cassandra.yaml file . lot of things are self explanatory.

    0 讨论(0)
提交回复
热议问题