marmotdata/spline
Discover Spark applications and their lineage from a Spline server
Spline The Spline plugin discovers Spark applications and their lineage from a Spline server.
It reads the Spline consumer API and creates one Pipeline asset per Spark application name, not per run, so a job that runs nightly stays a single asset. Every run in the window becomes a run history event, including failures.
Lineage
Spline records the URI Spark read from or wrote to. The plugin resolves those URIs to the assets other Marmot plugins publish, so a Spark job links to the real PostgreSQL table or S3 bucket rather than to a copy of it. Resolved schemes: jdbc: for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, Redshift and Snowflake, s3/s3a/s3n, gs, abfs/abfss, hive and delta. Anything else produces no edge.
The plugin creates no tables or buckets of its own. An edge only appears in Marmot once the plugin that owns the other end has catalogued it.
Column Lineage
With include_column_lineage the plugin reads Spline's attribute lineage for every column of a run's output and stores it on the pipeline as JSON under the column_lineage metadata key, keyed by the MRN of the table produced. Marmot's lineage edges carry no column information, so it is recorded as metadata rather than on the edge.
Host
host is the Spline REST gateway root. A /consumer or /producer suffix is stripped, so pasting either API's URL works.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick Spline from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
hostText RequiredSpline REST gateway URL, for example http://spline:8080
ui_hostTextSpline UI URL, used for links back to a run
usernameTextUsername for basic authentication
passwordSecretPassword for basic authentication
tokenSecretBearer token, as an alternative to basic authentication
verify_sslYes or noVerify the server's TLS certificate
daysNumberOnly ingest Spark runs from the last N days
max_eventsNumberMaximum number of Spark runs to read
page_sizeNumberNumber of runs to read per request
include_column_lineageYes or noRead column level lineage for each run
Assets emitted
Metadata this plugin attaches to each discovered asset.
Spline
The metadata fields the Spline plugin emits for Pipeline assets.
Run Facet
The facets attached to each run history event.