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?

There are three actions: reduceByKey, sortBy, and collect. But RDD data is not persisted, which will cause re-computation.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Tested manually.

@amanomer amanomer changed the title Initial commit [SPARK-29813] Missing persist in mllib.PrefixSpan.findFrequentItems() Nov 9, 2019
@amanomer amanomer changed the title [SPARK-29813] Missing persist in mllib.PrefixSpan.findFrequentItems() [SPARK-29813][MLLIB] Missing persist in mllib.PrefixSpan.findFrequentItems() Nov 9, 2019
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@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