Skip to content

Spline Initialization failing for Console and Logging #429

Answered by wajda
nkarthikn asked this question in Q&A
Discussion options

You must be logged in to vote

Spark ignores config keys that don't start with spark. Hence, when setting Spline properties via Spark configuration all keys have to be prepended with the spark. prefix to be properly propagated to the Spline agent.

pyspark  --packages za.co.absa.spline.agent.spark:spark-3.1-spline-agent-bundle_2.12:0.7.1  \
         --conf "spark.sql.queryExecutionListeners=za.co.absa.spline.harvester.listener.SplineQueryExecutionListener" \
         --conf "spark.spline.lineageDispatcher=console" \
         --conf "spark.spline.lineageDispatcher.console.className=za.co.absa.spline.harvester.dispatcher.ConsoleLineageDispatcher" \
         --conf "spark.spline.lineageDispatcher.console.stream=OUT"

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wajda
Comment options

wajda May 4, 2022
Maintainer

@wajda
Comment options

wajda May 4, 2022
Maintainer

@nkarthikn
Comment options

Answer selected by nkarthikn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants