-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-24889][Core] Update block info when unpersist rdds #22341
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,7 +55,7 @@ class RDDInfo( | |
| } | ||
|
|
||
| private[spark] object RDDInfo { | ||
| private val callsiteForm = SparkEnv.get.conf.get(EVENT_LOG_CALLSITE_FORM) | ||
| private lazy val callsiteForm = SparkEnv.get.conf.get(EVENT_LOG_CALLSITE_FORM) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this related to the problem?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I ran the test locally and this causes error when initializing
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for explaining. |
||
|
|
||
| def fromRdd(rdd: RDD[_]): RDDInfo = { | ||
| val rddName = Option(rdd.name).getOrElse(Utils.getFormattedClassName(rdd)) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd have just exposed the fields but this is fine too.