Hello, I am using takeSample from the Scala Spark 1.2.1 shell:
scala> sc.textFile("README.md").takeSample(false, 3) and I notice that two jobs are generated on the Spark Jobs page: Job Id Description 1 takeSample at <console>:13 0 takeSample at <console>:13 Any ideas why the two jobs are needed? Thanks! Rares