Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7093 Support Spark 3 in Spark runner
  3. BEAM-7837

Add an adapter class to support changes in Spark 3 API

Details

    • Sub-task
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.15.0
    • runner-spark
    • None

    Description

      As part of the API clean ups of Spark 3, there are some methods that do not work as before. For details.

      SPARK-19287 JavaPairRDD flatMapValues requires function returning Iterable, not Iterator
      SPARK-25737 Remove JavaSparkContextVarargsWorkaround and standardize union() methods

      If we want to support both Spark 2 and Spark 3 with the same runner code base we should probably create an adapter class for API incompatible code between Spark versions.

      Attachments

        Issue Links

          Activity

            People

              iemejia Ismaël Mejía
              iemejia Ismaël Mejía
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m