Adv Spark Programming

39 / 52

Which of the following is not right way of controlling number of partitions?


Note - Having trouble with the assessment engine? Follow the steps listed here


No hints are availble for this assesment

Answer is not availble for this assesment

Please login to comment

4 Comments

please explain the answer

  Upvote    Share

I hope you know the usage of the map() function.

map() is a transformations opearations!
Map() operation applies to each element of RDD and it returns the result as new RDD after mapping. 

It won't create any partitions, 

All the best!

  Upvote    Share

hashPartitioner and RangePartitioner are not really increasing or decreasing the number of partitions, are they? They are only repositioning data in multiple partitions. Please clarify this.

Thanks.

 3  Upvote    Share

I think in "Adv Spark Programming - Custom Partitioner" from 3 partitions we made two partitions using hash partitioner.

  Upvote    Share