apache/spark — pull request #1532 by nkronenfeld (2014-07-22 14:43:22+00:00)
Title: 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.