made changes to run the data sampling in Spark