Hi All, My question is related to improving performance of pairRDD's lookup method. I went through below link where "Tathagata Das <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=46>" explains creating Hash Map over Partitions using "mappartition" method to get search performance of O(1). http://apache-spark-user-list.1001560.n3.nabble.com/How-to-create-RDD-over-hashmap-td893.html
How can this be done in Java? HashMap is not a supported return type for any overloaded version of "mappartition" methods. Thanks and Regards, Harsha