AbsaOSS / spline-spark-agent

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

issue #634 NPE in `NonPersistentActionsCapturePlugin` #635

Closed wajda closed 1 year ago

wajda commented 1 year ago

fixes #634

I only encountered this issue on Mac M1 so far. It indeed happens intermittently with probability about 50%. For some reason sometimes the local network interface resolves to one that doesn't have any hardware address assigned. I don't know why exactly it's happening, but I suspect it might be related to ZScaler somehow. Anyway, the workaround that I put in place simply tries to find an suitable network interface (non-virtual, non-lookback, site-local if possible, with MAC assigned). If that doesn't work, the 00:00:00:00:00:00 is returned as a fallback.

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