HADOOP-17982. OpensslCipher initialization error should log a WARN message. (#3599)
Change-Id: I070fc4784679b3be73aa3a11201bbae23c20ad4e
This commit is contained in:
parent
a0d8cde133
commit
d7c5400fbc
|
@ -84,14 +84,14 @@ public final class OpensslCipher {
|
|||
String loadingFailure = null;
|
||||
try {
|
||||
if (!NativeCodeLoader.buildSupportsOpenssl()) {
|
||||
PerformanceAdvisory.LOG.debug("Build does not support openssl");
|
||||
PerformanceAdvisory.LOG.warn("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);
|
||||
LOG.warn("Failed to load OpenSSL Cipher.", t);
|
||||
} finally {
|
||||
loadingFailureReason = loadingFailure;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue