Spark Engine Prerequisites
Required Infrastructure
Spark Cluster
- Spark Connect available (versions 3.5.2 to 3.5.6 supported)
- Network access from the pipeline execution environment to the Spark Connect endpoint
- Network access from the pipeline execution environment to the Collate server
Database Drivers in Spark Cluster
Depending on your source database, ensure the appropriate driver is installed in your Spark cluster:- PostgreSQL:
org.postgresql.Driver - MySQL:
com.mysql.cj.jdbc.Driver
Network Connectivity
The pipeline execution environment must have:- Outbound access to your Spark Connect endpoint (typically port 15002)
- Outbound access to your Collate server (typically port 8585)
- Inbound access from Spark workers to your source database
Verification Steps
- Test Spark Connect: Verify connectivity from your pipeline environment to Spark Connect
- Test Collate: Ensure your pipeline environment can reach the Collate API
- Test Database: Confirm Spark workers can connect to your source database
- Verify Drivers: Check that the appropriate database driver is available in your Spark cluster
Example Verification Commands
Test Spark Connect Connectivity
Test Collate Connectivity
Test Database Connectivity from Spark
Partitioning Requirements
Learn about the partitioning requirements for Spark Engine.
Configuration
Configure your profiler pipeline to use Spark Engine.