yikaifei created RANGER-4125:
--------------------------------
Summary: Simplifies the dependency of gethostname4j for the ranger
client
Key: RANGER-4125
URL: https://issues.apache.org/jira/browse/RANGER-4125
Project: Ranger
Issue Type: Improvement
Components: Ranger
Reporter: yikaifei
Currently, {{ranger-plugin-commons}} module relies on {{{}gethostname4j{}}},
{{jna }} and {{jna-platform}} to get the native hostname, which is for
{{AuthzAuditEvent}} only.
{{{}gethostname4j{}}}, {{jna }} and {{jna-platform}} is too onerous, it doesn't
seem worthwhile to maintain the three jars to get the hostname, and
{{{}gethostname4j{}}}, {{jna }} and {{jna-platform}} relies on the native lib,
which prevents users from doing shade.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)