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 docs in mllib.clustering.LDAOptimizer is used in two actions: reduceByKey and take. It should be persisted.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Tested manually

@amanomer
Copy link
Contributor Author

amanomer commented Nov 9, 2019

Retest this please

@amanomer amanomer changed the title [SPARK-29817] Missing persist on docs in mllib.clustering.LDAOptimizer.initialize [SPARK-29817][MLLIB] Missing persist on docs in mllib.clustering.LDAOptimizer.initialize Nov 9, 2019
@amanomer amanomer closed this Nov 9, 2019
@srowen
Copy link
Member

srowen commented Nov 10, 2019

Let's continue this in one place, #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.

2 participants