Answer Posted / Gyanesh Kumar
The following are the ways to create RDDs in Apache Spark:
1. Creating an RDD from a local collection using parallelize() method.
2. Reading data from an external file or HDFS file system.
3. Using SQLContext or DataFrame API to convert DataFrames and Datasets into RDDs.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers