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

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.15.0
    • Component/s: runner-spark
    • Labels:
      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

              • Assignee:
                iemejia Ismaël Mejía
                Reporter:
                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