Error while connecting to Cassandra using Java Driver for Apache Cassandra 1.0 from com.example.cassandra

前端 未结 11 657
感动是毒
感动是毒 2020-12-29 21:38

While connecting to Cassandra client using java driver for Cannsandra by DataStax, it is throwing following error..

Exception in thread \"main\" com.datastax

11条回答
  •  梦毁少年i
    2020-12-29 22:21

    I was having the same issue testing a new cluster with one node.

    After removing this from the Cluster builder I was able to connect:

    .withLoadBalancingPolicy(new DCAwareRoundRobinPolicy("US_EAST"))
    

    It was able to connect.

提交回复
热议问题