Hi guys, I'm new to spark and cassandra. I was wondering if its possible (or a workaround using other tools) to read from cassandra while inside a map operation of a spark rdd?
@arditmeti1337_187894 In case you haven't already seen it, the spark-cassandra-connector documentation has example code for Accessing Cassandra data with CassandraRDD.
You also mentioned that you are new to Cassandra and Spark so I'd like to recommend that you do the free courses at DataStax Academy. It will answer a lot of questions for new users and will get you started on the right path. Cheers!
5 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use