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: [email protected]
For additional commands, e-mail: [email protected]