Skip to content

Conversation

@amanomer
Copy link
Contributor

@amanomer amanomer commented Nov 9, 2019

What changes were proposed in this pull request?

Use persist on RDD which is used for more than one action.

Why are the changes needed?

The rdd sources is used in more than one actions: first() and actions in computePrincipalComponentsAndExplainedVariance(), so it needs to be persisted.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Manually

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@amanomer amanomer changed the title [SPARK-29814] Missing persist on sources in mllib.feature.PCA [SPARK-29814][MLLIB] Missing persist on sources in mllib.feature.PCA Nov 9, 2019
@amanomer amanomer closed this Nov 9, 2019
@srowen
Copy link
Member

srowen commented Nov 10, 2019

#26454

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants