GitHub user JoshRosen opened a pull request: https://github.com/apache/spark/pull/3884
[SPARK-5063] Useful error messages for nested RDDs and actions inside of transformations This patch adds more helpful error messages for invalid programs that define nested RDDs and performs actions inside of transformations (e.g. calling `count()` from inside of `map()`). Currently, these invalid programs lead to confusing NullPointerExceptions at runtime and have been a major source of questions on the mailing list and StackOverflow. You can merge this pull request into a Git repository by running: $ git pull https://github.com/JoshRosen/spark SPARK-5063 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/3884.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 #3884 ---- commit 15b2e6b38d9587790357182abe7918853688722e Author: Josh Rosen <joshro...@databricks.com> Date: 2015-01-03T04:14:27Z [SPARK-5063] Useful error messages for nested RDDs and actions inside of transformations ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org