[
https://issues.apache.org/jira/browse/HADOOP-17982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Masatake Iwasaki resolved HADOOP-17982.
---------------------------------------
Fix Version/s: 3.4.0
Hadoop Flags: Reviewed
Resolution: Fixed
> OpensslCipher initialization error should log a WARN message
> ------------------------------------------------------------
>
> Key: HADOOP-17982
> URL: https://issues.apache.org/jira/browse/HADOOP-17982
> Project: Hadoop Common
> Issue Type: Improvement
> Components: kms, security
> Reporter: Wei-Chiu Chuang
> Assignee: Wei-Chiu Chuang
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 3.4.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> 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.
> {code}
> 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;
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]