Spark-Cassandra Connector : Failed to open native connection to Cassandra

后端 未结 5 1378
情深已故
情深已故 2020-12-20 23:54

I am new to Spark and Cassandra. On trying to submit a spark job, I am getting an error while connecting to Cassandra.

Details:

Versions:

Spa         


        
5条回答
  •  清歌不尽
    2020-12-21 00:23

    This is an issue with version of the cassandra-driver-core jar's dependency.

    The provided cassandra's version is 2.0
    The provided cassandra-driver-core jar's version is 2.1.5
    

    The jar should be the same as the version of the cassandra running.

    In this case, the included jar file should be cassandra-driver-core-2.0.0.jar
    

提交回复
热议问题