AbsaOSS / spline-spark-agent

Spline agent for Apache Spark
https://absaoss.github.io/spline/
Apache License 2.0
185 stars 95 forks source link

issue #757 Initialization failure handling control #758

Open wajda opened 1 year ago

wajda commented 1 year ago

fixes #757

Adds a new config property:

spline.onInitFailure = LOG | BREAK
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

github-actions[bot] commented 1 year ago

JaCoCo code coverage report

File Coverage [40.56%] :x:
AgentConfig.scala 84.38% :green_apple:
AgentBOM.scala 72.85% :x:
InitFailureHandlingMode.java 0% :x:
SparkLineageInitializer.scala 0% :x:
Total Project Coverage 42.07% :green_apple:
cerveada commented 1 year ago

As I understand it there are three places from which agent code is run:

Spark listener is wrapped in try catch, so we can't influence what is happening outside of that. For both init methods are you sure there is no catch block that will make this config unusable?

cerveada commented 1 year ago

Can we have tests for this?

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud