HI all, the belowing is my test code. I found the output of val input is different. how do i fix the order please?
scala> val input = sc.parallelize( Array(1,2,3)) input: org.apache.spark.rdd.RDD[Int] = ParallelCollectionRDD[13] at parallelize at <console>:24 scala> input.foreach(print) 132 scala> input.foreach(print) 213 scala> input.foreach(print) 312