How to create an empty RDD in Apache Spark
We can create empty RDD in three ways using SparkContext's emptyRDD method, parallelize method with RDD of type String and using pair RDD.
We can create empty RDD in three ways using SparkContext's emptyRDD method, parallelize method with RDD of type String and using pair RDD.
In this post we will learn how to create Spark Resilient Distributed Dataset (RDD) using SparkContext's parallelize method.