Hi All,
I created the products RDD and executed the below command and job is abending. I have given the screen print. Please let me know how to resolve this issue.
products.map( rec => (rec.split(",")(4).toFloat,rec)).sortByKey(false).take(5).foreach(println)