-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[minor] [core] Warn users who try to cache RDDs with dynamic allocation on. #5751
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
Conversation
Example:
|
_executorAllocationManager.foreach { _ => | ||
logWarning( | ||
s"Dynamic allocation currently does not support cached RDDs. Cached data for RDD " + | ||
s"${rdd.id} will be deallocated when executors are removed.") |
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.
nit: can we say "lost" instead of "deallocated"? Deallocate has a connotation to me of purposely returned to a pool, where as this is more a situation of unpurposely returned to nowhere accessible.
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 thought about lost but thought it would be too strong, since the data can be recomputed. But sure, it sounds more correct than "deallocated".
Minor comment. Otherwise LGTM. |
LGTM |
1 similar comment
LGTM |
Test build #31152 has finished for PR 5751 at commit
|
I merged this into master 1.3 and all the way back to 1.2 thanks. |
Test build #31158 has finished for PR 5751 at commit
|
Test FAILed. |
…on on. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes apache#5751 from vanzin/cached-rdd-warning and squashes the following commits: 554cc07 [Marcelo Vanzin] Change message. 9efb9da [Marcelo Vanzin] [minor] [core] Warn users who try to cache RDDs with dynamic allocation on.
This is a resubmit of #5751 for branch-1.3. The previous cherry-pick caused a build break that was later [reverted](2254576). Originally written by vanzin. Author: Andrew Or <andrew@databricks.com> Closes #6421 from andrewor14/warn-da-cache-1.3 and squashes the following commits: 25cbb53 [Andrew Or] If DA is enabled, warn about caching
…on on. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes apache#5751 from vanzin/cached-rdd-warning and squashes the following commits: 554cc07 [Marcelo Vanzin] Change message. 9efb9da [Marcelo Vanzin] [minor] [core] Warn users who try to cache RDDs with dynamic allocation on.
No description provided.