Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12258

Update documentation examples to use SparkSession

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Spark Connector
    • Labels:

      • Update examples to use SparkSession instead of SparkContext / JavaSparkContext.  SparkContext and JavaSparkContext are still supported via MongoSpark but as new users to Spark won't necessarily want to use them we should update the examples to use: MongoSpark(sparkSession).toRDD() instead.
      • Add note about using --conf="spark.driver.extraJavaOptions=-Dhttps.protocols=TLSv1.2" for Java 7 users

            Assignee:
            Unassigned Unassigned
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 30 weeks, 1 day ago