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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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