Do the following in the Spark environment: A. Write a Scala program to print prime numbers in range 1-100 using RDD's (r
Posted: Fri Jul 01, 2022 5:37 am
Do the following in the Spark environment: A. Write a Scala program to print prime numbers in range 1-100 using RDD's (resilient distributed dataset). B. Square all the prime numbers from part A. C. Find all the squared prime numbers that are multiples of 2 from part B. D. What is the first squared prime number that is a multiple of 2? E. Show the first five squared prime numbers that are multiples of 2.