GitHub user GregOwen opened a pull request:
https://github.com/apache/spark/pull/1364
[SPARK-2086] Improve output of toDebugString to make shuffle boundaries
more clear
Changes RDD.toDebugString() to show hierarchy and shuffle transformations
more clearly
New output:
```
(3) FlatMappedValuesRDD[325] at apply at Transformer.scala:22
| MappedValuesRDD[324] at apply at Transformer.scala:22
| CoGroupedRDD[323] at apply at Transformer.scala:22
+-(5) MappedRDD[320] at apply at Transformer.scala:22
| | MappedRDD[319] at apply at Transformer.scala:22
| | MappedValuesRDD[318] at apply at Transformer.scala:22
| | MapPartitionsRDD[317] at apply at Transformer.scala:22
| | ShuffledRDD[316] at apply at Transformer.scala:22
| +-(10) MappedRDD[315] at apply at Transformer.scala:22
| | ParallelCollectionRDD[314] at apply at Transformer.scala:22
+-(100) MappedRDD[322] at apply at Transformer.scala:22
| ParallelCollectionRDD[321] at apply at Transformer.scala:22
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/GregOwen/spark to-debug-string
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1364.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 #1364
----
commit 08e5876d7f7c6395b942f105fcb77de9bd91db70
Author: Gregory Owen <[email protected]>
Date: 2014-07-10T23:10:21Z
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.
---