mesos/spark — pull request #722 by JoshRosen (2013-07-22 20:37:45+00:00)
Title: Fix bug: DoubleRDDFunctions.sampleStdev() computed non-sample stdev()

This fixes [SPARK-825](https://spark-project.atlassian.net/browse/SPARK-825), a bug where DoubleRDDFunctions.sampleStdev() computed the non-sample stdev() due to a typo.

I also added a commit to bring JavaDoubleRDD up-to-date with the current DoubleRDDFunctions.

After merging, please cherry-pick this into branch-0.7.

(This is a copy of #721, which Jenkins didn't seem to want to test, perhaps because I rebased that branch after submitting the pull request).