Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
Reviewed
Description
We spent months troubleshooting a RangerKMS performance problem, only to realize that the openssl library wasn't even loaded properly.
The failure to load openssl lib is currently logged as a debug message during initialization. We really should upgrade it to at least INFO/WARN.
static { String loadingFailure = null; try { if (!NativeCodeLoader.buildSupportsOpenssl()) { PerformanceAdvisory.LOG.debug("Build does not support openssl"); loadingFailure = "build does not support openssl."; } else { initIDs(); } } catch (Throwable t) { loadingFailure = t.getMessage(); LOG.debug("Failed to load OpenSSL Cipher.", t); } finally { loadingFailureReason = loadingFailure; } }
Attachments
Issue Links
- is related to
-
SPARK-49055 Investigate OrcEncryptionSuite UnsatisfiedLinkError on AppleSilicon MacOS environment
- Closed
- links to