You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2021/10/28 20:35:00 UTC
[jira] [Created] (HADOOP-17982) OpensslCipher initialization error
should log a WARN message
Wei-Chiu Chuang created HADOOP-17982:
----------------------------------------
Summary: 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
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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org