How to create an rdd?



How to create an rdd?..

Answer / Nirbhaya Singh

An RDD can be created using various methods, such as textFile(path), parallelize(iterable), and wholeTextFiles(path). For example: SparkContext.textFile("file.txt") creates an RDD from a text file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

How do I start a spark server?

1 Answers  


What is spark tool in big data?

1 Answers  


What language is apache spark?

1 Answers  


What is spark sqlcontext?

1 Answers  


Explain the default level of parallelism in Apache Spark

1 Answers  


How is data represented in Spark?

1 Answers  


How do I download and install spark?

1 Answers  


What do you understand by worker node?

1 Answers  


What is apache spark good for?

1 Answers  


What is meant by Transformation? Give some examples.

0 Answers  


What is the spark driver?

1 Answers  


What is transformation in spark?

1 Answers  


Categories