Artificial Intelligence (AI) & Machine Learning Course for Managers

 Enroll Now

Adv Spark Programming

37 / 52

If we have a text file of 8GB in HDFS with 128MB block size and we are loading it into an RDD using sc.textFile. How many partitions would the resulting RDD have if we the master is yarn?