Skip to content

Commit

Permalink
HADOOP-17982. OpensslCipher initialization error should log a WARN me…
Browse files Browse the repository at this point in the history
…ssage. (apache#3599)

Change-Id: I070fc4784679b3be73aa3a11201bbae23c20ad4e
  • Loading branch information
jojochuang authored Dec 10, 2021
1 parent a0d8cde commit d7c5400
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ static int get(String padding) throws NoSuchPaddingException {
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;
}
Expand Down

0 comments on commit d7c5400

Please sign in to comment.