[ https://issues.apache.org/jira/browse/HADOOP-17982?focusedWorklogId=671648&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-671648 ]
ASF GitHub Bot logged work on HADOOP-17982: ------------------------------------------- Author: ASF GitHub Bot Created on: 28/Oct/21 20:50 Start Date: 28/Oct/21 20:50 Worklog Time Spent: 10m Work Description: jojochuang opened a new pull request #3599: URL: https://github.com/apache/hadoop/pull/3599 ### Description of PR log a WARN message if OpensslCipher fails to initialize. ### How was this patch tested? ### For code changes: - [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')? - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files? -- 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: 671648) Remaining Estimate: 0h Time Spent: 10m > 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 > Time Spent: 10m > 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