ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Henke (Jira)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-2749) Ranger depends on commons-lang but doesn't specify it in it's pom
Date Wed, 04 Mar 2020 15:49:00 GMT

     [ https://issues.apache.org/jira/browse/RANGER-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grant Henke updated RANGER-2749:
--------------------------------
    Attachment: 0001-RANGER-2749-Add-explicit-commons-lang-dependency.patch

> Ranger depends on commons-lang but doesn't specify it in it's pom
> -----------------------------------------------------------------
>
>                 Key: RANGER-2749
>                 URL: https://issues.apache.org/jira/browse/RANGER-2749
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 2.0.0
>            Reporter: Grant Henke
>            Priority: Major
>         Attachments: 0001-RANGER-2749-Add-explicit-commons-lang-dependency.patch
>
>
> Ranger uses commons lang for StringUtils in places like: 
> [https://github.com/apache/ranger/blob/master/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessRequestImpl.java#L31]
> However, it doesn't add commons-lang as a dependency and instead depends on the transitive
dependency from hadoop-common. When compiling my plugin with with Hadoop 3.2+ I get a `java.lang.NoClassDefFoundError:
org/apache/commons/lang/StringUtils` because Hadoop no longer depends on commons-lang. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message