GitHub user BryanCutler opened a pull request: https://github.com/apache/spark/pull/14516
[SPARK-15702][DOCS] Changed programming guide to not reference old accumulator API in Scala ## What changes were proposed in this pull request? In the programming guide, the accumulator section mixes up both the old and new APIs causing it to be confusing. This is not necessary for Scala, so all references to the old API are removed. For Java, it is somewhat fixed up except for the example of a custom accumulator because I don't think an API exists yet. Python has not currently implemented the new API. ## How was this patch tested? built doc locally You can merge this pull request into a Git repository by running: $ git pull https://github.com/BryanCutler/spark fixup-accumulator-programming-guide-SPARK-15702 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/14516.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 #14516 ---- commit fcf34bab10b4c52e49556ffe37dc7c75123b6973 Author: Bryan Cutler <cutl...@gmail.com> Date: 2016-08-05T22:44:04Z took out references to old accumulator api in Scala ---- --- 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