AbsaOSS / enceladus

Dynamic Conformance Engine
Apache License 2.0
29 stars 14 forks source link

#2213 Explicitly disable control metrics at the end of the job. #2212

Closed yruslan closed 3 months ago

yruslan commented 4 months ago

This is needed when the main method can be invoked more than once externally.

The PR fixes running multiple Standardization+Conformance jobs from a single Spark session via Pramen. If this patch is not applied, the second and other pipelines will fail with "control metrics already initialized" exception.

This was tested end to end. Screenshot 2024-03-05 at 13 07 00

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud