GitHub user zhengruifeng opened a pull request: https://github.com/apache/spark/pull/13164
[SPARK-15031][EXAMPLE] Use SparkSession in examples ## What changes were proposed in this pull request? Use `SparkSession` according to [SPARK-15031](https://issues.apache.org/jira/browse/SPARK-15031) `MLLLIB` is not recommended to use now, so examples in `MLLIB` are ignored in this PR. `StreamingContext` can not be directly obtained from `SparkSession`, so example in 'Streaming' are ignored too. cc @andrewor14 ## How was this patch tested? manual tests with spark-submit You can merge this pull request into a Git repository by running: $ git pull https://github.com/zhengruifeng/spark use_sparksession_ii Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/13164.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 #13164 ---- commit fd699aecf1bad6bb18ae1b652ec5b9434171ff2a Author: Zheng RuiFeng <ruife...@foxmail.com> Date: 2016-05-18T07:19:41Z create pr ---- --- 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