Thank u for your quick response. But, I tried this and get the error as shown in pic error.jpg <http://apache-spark-user-list.1001560.n3.nabble.com/file/n23676/error.jpg>
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-implement-top-and-filter-on-object-List-for-JavaRDD-tp23669p23676.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org