Updating Spark 2 applications for Spark 3
You must update your Apache Spark 2 applications to run on Spark 3. The Apache Spark documentation provides a migration guide.
For instructions on updating your Spark 2 applications for Spark 3, see the migration guide in the Apache Spark documentation.