Skip to content

[SPARK-16440][MLlib] Destroy broadcasted variables even on driver #14268

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

Closed
wants to merge 1 commit into from

Conversation

AnthonyTruchet
Copy link

What changes were proposed in this pull request?

Forgotten broadcasted variables were persisted into a previous #PR 14153). This PR turns those unpersist() into destroy() so that memory is freed even on the driver.

How was this patch tested?

Unit Tests in Word2VecSuite were run locally.

This contribution is done on behalf of Criteo, according to the
terms of the Apache license 2.0.

This contribution is on done on behalf of Criteo, according to the
terms of the Apache license.
@srowen
Copy link
Member

srowen commented Jul 19, 2016

LGTM

@srowen
Copy link
Member

srowen commented Jul 19, 2016

Jenkins test this please

@SparkQA
Copy link

SparkQA commented Jul 19, 2016

Test build #62547 has finished for PR 14268 at commit 4ad3836.

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

asfgit pushed a commit that referenced this pull request Jul 20, 2016
## What changes were proposed in this pull request?
Forgotten broadcasted variables were persisted into a previous #PR 14153). This PR turns those `unpersist()` into `destroy()` so that memory is freed even on the driver.

## How was this patch tested?
Unit Tests in Word2VecSuite were run locally.

This contribution is done on behalf of Criteo, according to the
terms of the Apache license 2.0.

Author: Anthony Truchet <a.truchet@criteo.com>

Closes #14268 from AnthonyTruchet/SPARK-16440.

(cherry picked from commit 0dc79ff)
Signed-off-by: Sean Owen <sowen@cloudera.com>
@srowen
Copy link
Member

srowen commented Jul 20, 2016

Merged to master/2.0/1.6 to match the original PR

asfgit pushed a commit that referenced this pull request Jul 20, 2016
## What changes were proposed in this pull request?
Forgotten broadcasted variables were persisted into a previous #PR 14153). This PR turns those `unpersist()` into `destroy()` so that memory is freed even on the driver.

## How was this patch tested?
Unit Tests in Word2VecSuite were run locally.

This contribution is done on behalf of Criteo, according to the
terms of the Apache license 2.0.

Author: Anthony Truchet <a.truchet@criteo.com>

Closes #14268 from AnthonyTruchet/SPARK-16440.

(cherry picked from commit 0dc79ff)
Signed-off-by: Sean Owen <sowen@cloudera.com>
@asfgit asfgit closed this in 0dc79ff Jul 20, 2016
zzcclp pushed a commit to zzcclp/spark that referenced this pull request Jul 20, 2016
## What changes were proposed in this pull request?
Forgotten broadcasted variables were persisted into a previous #PR 14153). This PR turns those `unpersist()` into `destroy()` so that memory is freed even on the driver.

## How was this patch tested?
Unit Tests in Word2VecSuite were run locally.

This contribution is done on behalf of Criteo, according to the
terms of the Apache license 2.0.

Author: Anthony Truchet <a.truchet@criteo.com>

Closes apache#14268 from AnthonyTruchet/SPARK-16440.

(cherry picked from commit 0dc79ff)
Signed-off-by: Sean Owen <sowen@cloudera.com>
(cherry picked from commit f6e0c17)
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