You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/spark-k8s/pages/usage-guide/openlineage.adoc
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
https://openlineage.io/[OpenLineage] is an open standard for data lineage collection.
4
4
The Spark operator can automatically emit lineage events for a `SparkApplication` to an OpenLineage-compatible backend such as https://marquezproject.github.io/marquez/[Marquez], without any manual `sparkConf` wiring.
5
5
6
-
When enabled, the operator injects everything required to make the https://openlineage.io/docs/integrations/spark/[OpenLineage Spark listener] work:
6
+
When configured, the operator injects everything required to make the https://openlineage.io/docs/integrations/spark/[OpenLineage Spark listener] work:
7
7
8
8
* the OpenLineage Spark listener (appended to `spark.extraListeners`, so any listener you configure yourself is preserved),
9
9
* the OpenLineage jar baked into the Spark image, referenced via `spark.jars` so it shares the same classloader as connectors pulled in through xref:usage-guide/job-dependencies.adoc[`deps.packages`] (for example Apache Iceberg),
@@ -23,14 +23,13 @@ kind: SparkApplication
23
23
metadata:
24
24
name: orders-by-nation
25
25
spec:
26
-
openLineage:
27
-
enabled: true # <1>
26
+
openLineage: # <1>
28
27
configMapName: marquez-discovery # <2>
29
28
# namespace: orders-lineage # <3>
30
29
# appName: orders-by-nation # <4>
31
30
...
32
31
----
33
-
<1> Enable OpenLineage event emission. Defaults to `false`, in which case the operator emits nothing OpenLineage-related and behaviour is unchanged.
32
+
<1> Adding the `openLineage` block enables OpenLineage event emission. Omit it entirely to leave OpenLineage off (the default), in which case the operator emits nothing OpenLineage-related and behaviour is unchanged.
34
33
<2> Name of a discovery ConfigMap holding the backend endpoint (see below).
35
34
Must be in the same namespace as the `SparkApplication`.
36
35
<3> Optional. The OpenLineage namespace events are reported under.
@@ -52,7 +51,7 @@ data:
52
51
<1> Base URL of the OpenLineage backend, for example the Marquez API service.
53
52
54
53
Alternatively, you can set the endpoint directly through `sparkConf` (`spark.openlineage.transport.url`).
55
-
If `enabled: true` and no endpoint can be resolved from either the discovery ConfigMap or `sparkConf`, reconciliation fails with a clear error rather than emitting a config that silently drops events.
54
+
If the `openLineage` block is present and no endpoint can be resolved from either the discovery ConfigMap or `sparkConf`, reconciliation fails with a clear error rather than emitting a config that silently drops events.
0 commit comments