Trying to print out a data row from cassandra table but get the following NoClassDefFoundError. Any ideas?
scala> val test_words_rdd = sc.cassandraTable("test", "words")
test_words_rdd: com.datastax.spark.connector.rdd.CassandraTableScanRDD[com.datastax.spark.connector.CassandraRow] = CassandraTableScanRDD[1] at RDD at CassandraRDD.scala:15
scala> test_words_rdd.first
java.lang.NoClassDefFoundError: Could not initialize class com.datastax.driver.core.CodecRegistry
at com.datastax.driver.core.Configuration$Builder.build(Configuration.java:259)
at com.datastax.driver.core.Cluster$Builder.getConfiguration(Cluster.java:1135)
...
Not too familiar with the environment, so not sure if it is an issue with a file/class not being imported, if its just not finding any data/connecting to cassandra correctly, etc.