I found the answer after watching some blogs.
When I converted RDD [String] to RDD [Tuple1 [String]], everything went smoothly. Therefore, basically, to save data in Cassandra, the data should be of the RDD type [TupleX [String]] here x may be 1,2,3 ... or the data may be RDD [SomeCaseClass]
source share