com.datastax.spark.connector.util.ConfigCheck$ConnectorConfigurationException: Invalid Config Variables Only known spark.cassandra.* variables are allowed when using the Spark Cassandra Connector. spark.cassandra.connection.factory is not a valid Spark Cassandra Connector variable. No likely matches found.

DataStax JIRA | Ben | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. com.datastax.spark.connector.util.ConfigCheck$ConnectorConfigurationException

      Invalid Config Variables Only known spark.cassandra.* variables are allowed when using the Spark Cassandra Connector. spark.cassandra.connection.factory is not a valid Spark Cassandra Connector variable. No likely matches found.

      at com.datastax.spark.connector.util.ConfigCheck$.checkConfig()
    2. spark-cassandra-connector
      SparkContextFunctions.cassandraTable
      1. com.datastax.spark.connector.util.ConfigCheck$.checkConfig(ConfigCheck.scala:38)
      2. com.datastax.spark.connector.rdd.CassandraRDD.<init>(CassandraRDD.scala:18)
      3. com.datastax.spark.connector.rdd.CassandraTableScanRDD.<init>(CassandraTableScanRDD.scala:47)
      4. com.datastax.spark.connector.SparkContextFunctions.cassandraTable(SparkContextFunctions.scala:50)
      4 frames