[ https://issues.apache.org/jira/browse/HADOOP-17982?focusedWorklogId=678023&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-678023 ]
ASF GitHub Bot logged work on HADOOP-17982: ------------------------------------------- Author: ASF GitHub Bot Created on: 06/Nov/21 04:42 Start Date: 06/Nov/21 04:42 Worklog Time Spent: 10m Work Description: jojochuang commented on pull request #3599: URL: https://github.com/apache/hadoop/pull/3599#issuecomment-962393821 > 1. is this going to warn on all commands run in envs without ssl on the path, or is it just from when there's a hadoop build without openssl? not on all. openssl is initiated only when accessing encrypted file/ if the transport is encrypted. > 2. would it make sense to have a new log for the warning which you could turn off if you don't want to see it. > > side issue: if you have a PR for my cloudstore module which adds an "openssl" command that probes for this ,and returns an error code if not satisfied, happy to merge it. good for support calls The 'hadoop checknative' should be sufficient already.. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 678023) Time Spent: 40m (was: 0.5h) > 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 > Time Spent: 40m > 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.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org