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

前端 未结 11 680
感动是毒
感动是毒 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条回答
  •  星月不相逢
    2020-12-29 22:14

    Check below points:

    i) check server ip

    ii) check listening port

    iii) data-stack client dependency must match the server version.

    About the yaml file, latest versions has below properties enabled:

        start_native_transport: true
        native_transport_port: 9042
    

提交回复
热议问题