aboutsummaryrefslogtreecommitdiff
path: root/docs/cluster-overview.md
diff options
context:
space:
mode:
authorXin Ren <iamshrek@126.com>2016-03-24 09:34:54 +0000
committerSean Owen <sowen@cloudera.com>2016-03-24 09:34:54 +0000
commitdd9ca7b9607cb4ade287b646905d92064ac94d6f (patch)
tree07463b657cf83cf714b59076f4ef5e18d6a589be /docs/cluster-overview.md
parent048a7594e2bfd2a3e531ecfa8ebbcc2032c1dac2 (diff)
downloadspark-dd9ca7b9607cb4ade287b646905d92064ac94d6f.tar.gz
spark-dd9ca7b9607cb4ade287b646905d92064ac94d6f.tar.bz2
spark-dd9ca7b9607cb4ade287b646905d92064ac94d6f.zip
[SPARK-13019][DOCS] fix for scala-2.10 build: Replace example code in mllib-statistics.md using include_example
## What changes were proposed in this pull request? This PR for ticket SPARK-13019 is based on previous PR(https://github.com/apache/spark/pull/11108). Since PR(https://github.com/apache/spark/pull/11108) is breaking scala-2.10 build, more work is needed to fix build errors. What I did new in this PR is adding keyword argument for 'fractions': ` val approxSample = data.sampleByKey(withReplacement = false, fractions = fractions)` ` val exactSample = data.sampleByKeyExact(withReplacement = false, fractions = fractions)` I reopened ticket on JIRA but sorry I don't know how to reopen a GitHub pull request, so I just submitting a new pull request. ## How was this patch tested? Manual build testing on local machine, build based on scala-2.10. Author: Xin Ren <iamshrek@126.com> Closes #11901 from keypointt/SPARK-13019.
Diffstat (limited to 'docs/cluster-overview.md')
0 files changed, 0 insertions, 0 deletions