08: Spark writing RDDs to multiple text files & HAR to solve small files issue

We know that the following code snippets in Spark will write each JavaRDD element to a single file

What if you want to write each employee history to a separate file? Step 1: Create a JavaPairRDD from JavaRDD


🔥 300+ Java Interview FAQs

Java & Big Data Tutorials

Top