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
The error occurs when Standardization+Conformance jobs from a single Spark session. This happenned when running from Pramen since Pramen runs multiple Standardization+Conformance jobs in a single Spark Session.
To Reproduce
Steps to reproduce the behavior OR commands run:
Configure Pramen to run EnceladusSink for multiple tables in a pipeline.
Run the pipeline.
The error will occur saying "Control Measurements Tracking already initialized"
Expected behavior
Allow running multiple Standardization+Conformance jobs multiple times from teh same Spask session.
Screenshots
N/A
Desktop (please complete the following information):
This was happening both in UAT and in PROD.
Additional context
There is already logic in Enceladus that explicitly disables control metrics when conformance jobs runs after standardization. So single Standardization, Conformance, and Standardization+Conformance jobs run fine. The issue happens only if both Standardization and Conformance run multiple times.
The text was updated successfully, but these errors were encountered:
* Explicitly disable control metrics at the end of the job.
This is needed when the main method can be invoked more than once externally.
* Update spark-jobs/src/main/scala/za/co/absa/enceladus/standardization_conformance/StandardizationAndConformanceJob.scala
Co-authored-by: David Benedeki <14905969+benedeki@users.noreply.github.com>
---------
Co-authored-by: David Benedeki <14905969+benedeki@users.noreply.github.com>
Describe the bug
The error occurs when Standardization+Conformance jobs from a single Spark session. This happenned when running from Pramen since Pramen runs multiple Standardization+Conformance jobs in a single Spark Session.
To Reproduce
Steps to reproduce the behavior OR commands run:
Expected behavior
Allow running multiple Standardization+Conformance jobs multiple times from teh same Spask session.
Screenshots
N/A
Desktop (please complete the following information):
This was happening both in UAT and in PROD.
Additional context
There is already logic in Enceladus that explicitly disables control metrics when conformance jobs runs after standardization. So single Standardization, Conformance, and Standardization+Conformance jobs run fine. The issue happens only if both Standardization and Conformance run multiple times.
The text was updated successfully, but these errors were encountered: