I use spark 1.0.0. I execute this code and then get the following exception. I have figured out the exception is caused by takeOrdered(int num, Comparator) method of JavaPairRDD. How can i solve this problem ?I use spark 1.0.0. I execute this code and then