Scalable sampling algorithms for Spark.