Launching a Spark application with the Amazon Redshift integration for Apache Spark
To use the integration with EMR Serverless 6.9.0, pass the required
Spark-Redshift dependencies with your Spark job. Use --jars to
include Redshift connector related libraries. To access other file locations supported
by the --jars option, refer to 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 demonstrate how to launch a Spark application with the
Amazon Redshift integration for Apache Spark.