Skip to content

Conversation

@mridulm
Copy link
Contributor

@mridulm mridulm commented Sep 9, 2013

Existing behavior is preserved (which is referenced in .
Using an enum for now - please suggest modification if inappropriate.

This is a hack to work around the problem I discussed with @matei : namely, enable cleaner to evict shuffle/etc blocks, while ensuring that there is no side effect in other parts of spark (like eviction of broadcast variables, etc).

@AmplabJenkins
Copy link

Thank you for submitting this pull request.

Unfortunately, the automated tests for this request have failed.

Refer to this link for build results: http://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/893/

@mridulm
Copy link
Contributor Author

mridulm commented Sep 9, 2013

Please do not commit yet - looks like broadcast blocks are sitll getting dropped, sigh ...

@AmplabJenkins
Copy link

Thank you for submitting this pull request.

All automated tests for this request have passed.

Refer to this link for build results: http://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/907/

@mridulm
Copy link
Contributor Author

mridulm commented Sep 12, 2013

This PR does not address cases where a block is being used by a job (or its dependencies) - which is marked 'too old'. Actively used blocks should be exempted from cleanup - but unfortunately, that will need to be done in a later time.

For now, this sufficiently addresses our basic concerns - it is open for review.
@mateiz please let us know your comments, thanks.

@mridulm
Copy link
Contributor Author

mridulm commented Sep 29, 2013

Any updates on this ? Without this patch, for fairly large + fast jobs, master OOM's for us.

@hsaputra
Copy link

Could you kindly move the pull request to the new Spark github repo under ASF mirror: https://github.com/apache/incubator-spark

Thx, Henry

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like that these take both an enum type and a string name as arguments -- let's have them take just the enum.

@mateiz
Copy link
Member

mateiz commented Oct 3, 2013

Hey Mridul, sorry for the long delay on this, I was traveling after the 0.8 release. It looks good overall but I made a few comments to reduce the changes from existing code and make it more consistent. Please send it against the new repo too as Henry pointed out.

@mridulm
Copy link
Contributor Author

mridulm commented Oct 4, 2013

Thx Henry, done.
Matei, I have tried to address the review comments in the new PR, please do take a look - hopefully, I did not miss something.

@hsaputra
Copy link

hsaputra commented Oct 4, 2013

Cool! Thanks for your help Mridul

@mateiz
Copy link
Member

mateiz commented Oct 9, 2013

Closing this since it's now here: https://github.com/apache/incubator-spark/pull/32

@mateiz mateiz closed this Oct 9, 2013
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.

4 participants