Skip to content
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

[SW-1671] Expose Property for Setting Lifetime of MOJOs in Cache #1572

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

mn-mikke
Copy link
Collaborator

No description provided.

private lazy val cleanupRetryTimeout = sparkConf.getInt("spark.ext.h2o.mojo.destroy.timeout", 10 * 60 * 1000)
private lazy val cleanupRetryTimeout = {
val sparkConf = SparkSession.builder().getOrCreate().sparkContext.getConf
sparkConf.getInt("spark.ext.h2o.mojo.destroy.timeout", 10 * 60 * 1000)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Here we can't use H2OConf property since the sparkling-water-scoring package doesn't have sparkling-water-core as a dependency and I guess that it's made like that on purpose.

Copy link
Contributor

Choose a reason for hiding this comment

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

yup, no H2OConf in scoring package

@mn-mikke mn-mikke merged commit 6be5ea5 into master Oct 15, 2019
mn-mikke added a commit that referenced this pull request Oct 15, 2019
mn-mikke added a commit that referenced this pull request Oct 15, 2019
@mn-mikke mn-mikke deleted the mn/SW-1671 branch October 15, 2019 18:56
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.

None yet

2 participants