Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Runtime Properties

Zingg runtime properties file (zingg.conf) reference - Spark config, JAR paths, and connector-specific settings.

The zingg.conf file sets Spark configuration properties that Zingg passes to spark-submit at runtime. It lives in the config/ directory of your Zingg installation and is referenced via the properties-file flag.

Core Spark properties

spark.master=local[*]
spark.executor.memory=4g
spark.driver.memory=4g
spark.sql.shuffle.partitions=200
Property
Default
Description

spark.master

local[*]

Spark master URL. Use local[*] for local development (all cores). For cluster mode, set to your cluster manager URL. On managed platforms (Databricks, Fabric, EMR) this is managed automatically; do not override.

spark.executor.memory

4g

Memory allocated per executor. Increase if you see OOM errors during training or matching. For large datasets (1M+ records) try 8g or 16g.

spark.driver.memory

4g

Memory allocated to the Spark driver. Usually matches or is slightly lower than spark.executor.memory.

spark.sql.shuffle.partitions

200

Number of partitions used during shuffle operations. Increase for very large datasets during the match phase. A common value for large datasets is 400–800.

Adding JARs for connectors

Separate multiple JARs with commas.

Snowflake

spark.jars=snowflake-jdbc-3.13.19.jar,spark-snowflake_2.12-2.10.0-spark_3.1.jar

BigQuery

spark.jars=spark-bigquery-with-dependencies_2.12-0.24.2.jar,gcs-connector-hadoop2-latest.jar

BigQuery Hadoop Property

AWS S3

JDBC (replace with your driver)

GCP Dataproc Properties

For GCP Dataproc, inject JARs via cluster creation properties.

Key: spark.jars

Value:

  • gs://BUCKET/zingg-0.6.0.jar

  • gs://BUCKET/spark-3.5-bigquery-0.44.1.jar

  • gs://BUCKET/gcs-connector-hadoop3-latest.jar

On GCP Dataproc, JARs are injected at cluster creation time via cluster properties rather than in zingg.conf. The spark.jars key in the cluster properties accepts a comma-separated GCS path list.

Enterprise Snowflake Properties

The zingg.conf equivalent is the snowEnv.txt properties file. It sets Snowflake connection properties rather than Spark properties.

Pass this file via --properties-file when running any Zingg phase on Snowflake.

CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY: seconds between client attempts to update the session token. Valid range: 900 to 3600.

Last updated

Was this helpful?