OpenLineage Plugin
The Pentaho Data Integration (PDI) OpenLineage plugin enables PDI to emit rich, standardized OpenLineage events that can be consumed by Pentaho Data Catalog (PDC) to capture how data moves and is transformed in PDI ETL pipelines. PDC uses information it captures to provide visual end-to-end transparency of data flows, which improves data observability, strengthens compliance and governance, aids in troubleshooting data issues, and enhances data trust and quality for business users.
OpenLineage events are emitted from PDI when supported transformations are executed by discovering input and output datasets and, when possible, generating column-level lineage.
The OpenLineage plugin emits events for:
Start: transformation starts
Complete: transformation ends
Abort: transformation was stopped without errors
Fail: transformation ended with errors
Pre-installation
Verify that you have a valid license for the OpenLineage plugin. Contact Pentaho Support for details
Ensure that you have access to the Support Portal. Reach out to your Pentaho Support representative if you do not have access.
Ensure that any Pentaho Data Integration (PDI) tools (pan, kitchen, Carte, Spoon) and Pentaho Server are fully shut down before beginning the installation.
Installation Instructions
Install the plugin
Install the OpenLineage plugin in the PDI client and/or Pentaho Server.
Notes:
The plugin can be installed in the PDI client, Pentaho Server, or both.
Installation commands include placeholders:
<path-to-data-integration>: Full path to the PDI client.<path-to-pentaho-server>: Full path to the Pentaho Server.<version_check_option>: One of:none: Installs the plugin on any version of Pentaho. If the Pentaho version is unsupported, an error is shown.loose: Default option. Installs the plugin on certified and compatible, newer Pentaho versions.strict: Installs plugin only on certified Pentaho versions.
Steps:
Stop the PDI client and Pentaho Server.
Extract the pdi-openlineage-plugin-<plugin_version>-.zip file to a folder on the computer where the PDI client or PDI Server is installed.
In the extracted pdi-openlineage-plugin-<plugin_version>- folder, open a command prompt as an administrator.
Run the following installation commands for your OS, replacing placeholders:
Windows
PDI client
install.bat -t <path-to-data-integration> --platformVersionCheck <version_check_option>PDI Server
install.bat -t <path-to-pentaho-server> --platformVersionCheck <version_check_option>
Linux
PDI client
./install.sh -t <path-to-data-integration> --platformVersionCheck <version_check_option>PDI Server
./install.sh -t <path-to-pentaho-server> --platformVersionCheck <version_check_option>
Start the PDI client and Pentaho Server.
Generate an encrypted password
If you plan to emit events to PDC and want to secure your password, generate an encrypted password to authenticate to PDC. Use the encrypted password in the plugin configuration file.
Steps:
On the computer where the PDI client or PDI Server is installed, open a command prompt.
Run one of the following commands for your OS.
Windows
To generate a password using the default Pentaho encryption seed:
cd \<path-to-data-integration> # or <path-to-pentaho-server> sh encr.bat <your_password>To generate a password using your own custom encryption seed:
export KETTLE_TWO_WAY_PASSWORD_ENCODER_SEED=<your_custom_seed>your-custom-seed" cd \<path-to-data-integration> # or <path-to-pentaho-server> sh encr.bat <your_password>
Linux
To generate a password using the default Pentaho encryption seed:
cd /<path-to-data-integration> # or <path-to-pentaho-server> sh encr.sh <your_password>To generate a password using your own custom encryption seed:
export KETTLE_TWO_WAY_PASSWORD_ENCODER_SEED=<your_custom_seed>your-custom-seed" cd /<path-to-data-integration> # or <path-to-pentaho-server> sh encr.sh <your_password>
An encrypted password is generated and displayed in the command prompt, for example:
Encrypted 2be98afc86aa7f297a414ab3dce93bcc9Create a configuration file for the plugin
After installing the plugin, create a configuration file that specifies where to send OpenLineage events. You can create a simple configuration for testing or a custom configuration for production.
In a text editor, create a configuration file with content from one of the following examples:
Simple configuration (quick validation):
version: 0.0.1
consumers:
console:Custom configuration (includes OpenLineage event consumers like a PDC Server):
version: 0.0.1
localHostname: <localhostName> # optional
debugMode: false # PDI client (Spoon) only
consumers:
console:
file:
- path: /<path_to_file>/openlineage.json
http:
- name: PDC
url: https://<pdc_server_host_name>
endpoint: /lineage/api/events
authenticationParameters:
endpoint: /keycloak/realms/pdc/protocol/openid-connect/token
username: <pdc_server_username>
password: <pdc_server_password>
client_id: pdc-client
scope: openidSave the file as openlineageConfig.yml in the PDI directory that contains your user-specific configuration files.
Notes:
By default, user-specific configuration files are stored in the .kettle directory, usually:
Windows: C:\Documents and Settings\example_user.kettle
Linux: ~/.kettle
If you run PDI in a container, configuration files might resolve to /root/.kettle.
You can add multiple http consumers in the configuration file.
Enable the plugin
After installing the plugin and creating its configuration file, enable the plugin so it can send OpenLineage events to the configured consumers.
Enable in PDI client:
Log into the PDI client and click Edit > Edit the Kettle.properties file.
Add:
KETTLE_OPEN_LINEAGE_ACTIVE=trueTo point PDI to your openlineageConfig.yml file, add (replace placeholder with full path):
KETTLE_OPEN_LINEAGE_CONFIG_FILE=/<path-to-config-file>/openlineageConfig.ymlClick OK to save kettle.properties.
Enable in Pentaho Server:
Locate the kettle.properties file (usually in the same .kettle locations as noted earlier; containers use /root/.kettle).
Open kettle.properties in a text editor.
Add:
KETTLE_OPEN_LINEAGE_ACTIVE=true
KETTLE_OPEN_LINEAGE_CONFIG_FILE=/<path-to-config-file>/openlineageConfig.ymlSave kettle.properties.
Validate the plugin works
Validate that the plugin is working by checking logs and files for OpenLineage-related text.
Steps:
In the PDI client, click File > Open and navigate to sample transformations (e.g., on Windows: <path_to_Pentaho>\Pentaho\design-tools\data-integration\samples\transformations).
Open the sample transformation TextInput and Output using variables.ktr.
Run the transformation (Action > Run, then Run). Execution Results appears.
Validate consumers are receiving OpenLineage events:
If the console consumer is enabled: in Execution Results pane, Logging tab, verify log lines contain "OpenLineage-Plugin".
If a file consumer is enabled: open the openlineage.json file (location defined in openlineageConfig.yml) and verify it contains lines with "OpenLineage-Plugin".
If an HTTP consumer is enabled: confirm OpenLineage events are arriving for that consumer (for example, in PDC).
Supported steps
Steps that support dataset lineage and column-level lineage
Abort
Append Streams
Block this step until steps finish
Blocking Step
Data Grid
Delay Row
Delete
Dummy
Filter Rows
Generate Rows
Get Variables
Group By
Java Filter
Mail
Merge Join
Microsoft Excel Input
Lineage is supported for local files, AWS, Mineo, HCP, and other S3-compatible connections.
Microsoft Excel Output (deprecated)
Lineage is supported for local files, AWS, Mineo, HCP, and other S3-compatible connections. [1]
Microsoft Excel Writer
Lineage is supported for local files, AWS, Mineo, HCP, and other S3-compatible connections. [1]
Prioritize streams
S3 CSV Input
S3 File Output [1]
Send message to syslog
Set Variables
Sort Rows
Switch/Case
Table input
Lineage is supported for the following connections, using the listed SQL functions and clauses:
Connection types: MySQL, PostgreSQL, Denodo, Sybase, Oracle, Vertica, SQL Server, Snowflake, Google BigQuery, Redshift, and Generic Connection [2]
SQL functions: aliases, joins, subqueries, functions, aggregations, constants, expressions, cases, window functions, CTEs, and the set operators: unions, intersects, and excepts.
Clauses: GROUP BY, ORDER BY, WHERE, WITH, and HAVING.
Table output
Lineage is supported for the following connections: MySQL, PostgreSQL, Denodo, Sybase, Oracle, Vertica, SQL Server, Snowflake, Redshift, and Generic Connection. [2]
Text file input
Lineage is supported for local files, AWS, Mineo, HCP, and other S3-compatible connections. Fixed filetype is not supported.
Text file output
Lineage is supported for local files, AWS, Mineo, HCP, and other S3-compatible file systems. [1] Fixed filetype is not supported.
Write to Log
Steps that support only dataset lineage, not column-level lineage
Combination lookup/update
Lineage is supported for the following connections: MySQL, PostgreSQL, Denodo, Sybase, Oracle, Vertica, SQL Server, Snowflake, Redshift, and Generic Connection. [2]
CSV File Input
Database Lookup
Lineage is supported for the following connections: MySQL, PostgreSQL, Denodo, Sybase, Oracle, Vertica, SQL Server, Snowflake, Redshift, and Generic Connection. [2]
De-serialize from file
Dimension lookup/update
Lineage is supported for the following connections: MySQL, PostgreSQL, Denodo, Sybase, Oracle, Vertica, SQL Server, Snowflake, Redshift, and Generic Connection. [2]
Fixed file input
Gzip Csv Input
Insert/Update
Lineage is supported for the following connections: MySQL, PostgreSQL, Denodo, Sybase, Oracle, Vertica, SQL Server, Snowflake, Redshift, and Generic Connection. [2]
JSON Input
JSON Output [1]
LDIF Input
Load file content in memory
Property Input
Properties Output [1]
Sql File Output [1]
Synchronize after merge
Lineage is supported for the following connections: MySQL, PostgreSQL, Denodo, Sybase, Oracle, Vertica, SQL Server, Snowflake, Redshift, and Generic Connection. [2]
Update
Lineage is supported for the following connections: MySQL, PostgreSQL, Denodo, Sybase, Oracle, Vertica, SQL Server, Snowflake, Redshift, and Generic Connection. [2]
XBase Input
Uninstall plugin
Uninstall the OpenLineage plugin from the PDI client and Pentaho Server by running commands appropriate for your operating system.
Before you begin, download the OpenLineage plugin from the Pentaho Support Portal, which contains script files for uninstalling the plugin. See Download the plugin above.
The plugin can be uninstalled from the PDI client, Pentaho Server, or both.
Uninstall commands include placeholders:
: full path to the PDI client.
: full path to the Pentaho Server.
<version_check_option>: one of
none,loose, orstrict(as described earlier).
To uninstall:
Stop the PDI client and Pentaho Server.
Extract the pdi-openlineage-plugin-<plugin_version>-.zip file to a folder on the computer where the PDI client or PDI Server is installed.
In the extracted pdi-openlineage-plugin-<plugin_version>- folder, open a command prompt as an administrator.
Run the following uninstall commands for your OS, replacing placeholders:
Windows
PDI client
PDI Server
Linux
PDI client
PDI Server
Start the PDI client and Pentaho Server.
Upgrade plugin
Uninstall the plugin (above)
Download the plugin (above)
Install the plugin (above)
Last updated: 1 minute ago
Links referenced in this page:
Acquire and install enterprise licenses: https://docs.pentaho.com/install/pentaho-installation-overview-cp/acquire-and-install-enterprise-licenses
Pentaho Support Portal: https://support.pentaho.com/hc/en-us
Plugin download: https://download.pentaho.com/PDI/Marketplace+Plugins+10.2/Open+Lineage#
Last updated
Was this helpful?

