Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-18608][ML] Fix double caching #19197

Closed
wants to merge 1 commit into from

Conversation

zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

df.rdd.getStorageLevel => df.storageLevel

using cmd find . -name '*.scala' | xargs -i bash -c 'egrep -in "\.rdd\.getStorageLevel" {} && echo {}' to make sure all algs involved in this issue are fixed.

Previous discussion in other PRs: #19107, #17014

How was this patch tested?

existing tests

@SparkQA
Copy link

SparkQA commented Sep 12, 2017

Test build #81654 has finished for PR 19197 at commit b485614.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@zhengruifeng
Copy link
Contributor Author

ping @jkbradley @WeichenXu123

@jkbradley
Copy link
Member

LGTM
Merging with master and branch-2.2
Thanks!

@jkbradley
Copy link
Member

jkbradley commented Sep 12, 2017

having connection trouble merging...will try again soon

asfgit pushed a commit that referenced this pull request Sep 12, 2017
## What changes were proposed in this pull request?
`df.rdd.getStorageLevel` => `df.storageLevel`

using cmd `find . -name '*.scala' | xargs -i bash -c 'egrep -in "\.rdd\.getStorageLevel" {} && echo {}'` to make sure all algs involved in this issue are fixed.

Previous discussion in other PRs: #19107, #17014

## How was this patch tested?
existing tests

Author: Zheng RuiFeng <ruifengz@foxmail.com>

Closes #19197 from zhengruifeng/double_caching.

(cherry picked from commit c5f9b89)
Signed-off-by: Joseph K. Bradley <joseph@databricks.com>
@asfgit asfgit closed this in c5f9b89 Sep 12, 2017
@zhengruifeng zhengruifeng deleted the double_caching branch September 13, 2017 01:47
asfgit pushed a commit that referenced this pull request Sep 14, 2017
## What changes were proposed in this pull request?
#19197 fixed double caching for MLlib algorithms, but missed PySpark ```OneVsRest```, this PR fixed it.

## How was this patch tested?
Existing tests.

Author: Yanbo Liang <ybliang8@gmail.com>

Closes #19220 from yanboliang/SPARK-18608.

(cherry picked from commit c76153c)
Signed-off-by: Yanbo Liang <ybliang8@gmail.com>
ghost pushed a commit to dbtsai/spark that referenced this pull request Sep 14, 2017
## What changes were proposed in this pull request?
apache#19197 fixed double caching for MLlib algorithms, but missed PySpark ```OneVsRest```, this PR fixed it.

## How was this patch tested?
Existing tests.

Author: Yanbo Liang <ybliang8@gmail.com>

Closes apache#19220 from yanboliang/SPARK-18608.
MatthewRBruce pushed a commit to Shopify/spark that referenced this pull request Jul 31, 2018
## What changes were proposed in this pull request?
`df.rdd.getStorageLevel` => `df.storageLevel`

using cmd `find . -name '*.scala' | xargs -i bash -c 'egrep -in "\.rdd\.getStorageLevel" {} && echo {}'` to make sure all algs involved in this issue are fixed.

Previous discussion in other PRs: apache#19107, apache#17014

## How was this patch tested?
existing tests

Author: Zheng RuiFeng <ruifengz@foxmail.com>

Closes apache#19197 from zhengruifeng/double_caching.

(cherry picked from commit c5f9b89)
Signed-off-by: Joseph K. Bradley <joseph@databricks.com>
MatthewRBruce pushed a commit to Shopify/spark that referenced this pull request Jul 31, 2018
## What changes were proposed in this pull request?
apache#19197 fixed double caching for MLlib algorithms, but missed PySpark ```OneVsRest```, this PR fixed it.

## How was this patch tested?
Existing tests.

Author: Yanbo Liang <ybliang8@gmail.com>

Closes apache#19220 from yanboliang/SPARK-18608.

(cherry picked from commit c76153c)
Signed-off-by: Yanbo Liang <ybliang8@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants