Github user ankurdave commented on the pull request:
https://github.com/apache/spark/pull/1297#issuecomment-62687768
@bobbych IndexedRDD handles persistence by caching its partitionsRDD, which
is the MapPartitionsRDD that you're getting back from sc.getPersistentRDDs. As
far as I know this is the only way to get Spark to store the partitions rather
than the individual key-value pairs, but it does prevent getPersistentRDDs from
working. Hopefully it should be easy to store the IndexedRDD in a separate
shared variable.
@pwais Thanks! :) This won't be in 1.2, but it may yet make it into a later
release.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]