Launching a Spark application with the Amazon Redshift integration for Apache Spark
To use the integration with EMR Serverless 6.9.0, you must pass the required
Spark-Redshift dependencies with your Spark job. Use --jars
to
include Redshift connector related libraries. To see other file locations supported
by the --jars
option, see the Advanced Dependency Management
-
spark-redshift.jar
-
spark-avro.jar
-
RedshiftJDBC.jar
-
minimal-json.jar
Amazon EMR releases 6.10.0 and higher don't require the minimal-json.jar
dependency, and automatically install the other dependencies to each cluster by
default. The following examples show how to launch a Spark application with the
Amazon Redshift integration for Apache Spark.