What does repartition do in spark?



What does repartition do in spark?..

Answer / Sandeep Shandilya

Repartition in Apache Spark is a function used to change the number of partitions for a DataFrame or RDD. It helps to balance the data distribution across nodes by either increasing or decreasing the number of partitions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

What is rdd lineage graph? How is it useful in achieving fault tolerance?

1 Answers  


What is RDD?

1 Answers  


What languages support spark?

1 Answers  


What is mlib?

1 Answers  


How does Apache Spark handles accumulated Metadata?

1 Answers  


Can a spark cause a fire?

1 Answers  


What are the various advantages of DataFrame over RDD in Apache Spark?

1 Answers  


What are the libraries of spark sql?

1 Answers  


What does apache spark stand for?

1 Answers  


Does spark need hdfs?

1 Answers  


Does spark sql use hive?

1 Answers  


What is apache spark in big data?

1 Answers  


Categories