GitHub user nkronenfeld opened a pull request:
https://github.com/apache/spark/pull/1532
Add caching information to RDD.toDebugString
I find it useful to see where in an RDD's DAG data is cached, so I figured
others might too.
I've added both the caching level, and the actual memory state of the RDD.
Some of this is redundant with the web UI (notably the actual memory
state), but (a) that is temporary, and (b) putting it in the DAG tree shows
some context that can help a lot.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nkronenfeld/spark-1 feature/debug-caching
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1532.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1532
----
commit 06c76ab961afc42e8305d6a3f186361c1e20e04d
Author: Nathan Kronenfeld <[email protected]>
Date: 2014-07-22T14:39:41Z
Add caching information to RDD.toDebugString
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---