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] [Created] (RANGER-2749) Ranger depends on commons-lang but doesn't specify it in it's pom
Date Tue, 03 Mar 2020 22:56:00 GMT
Grant Henke created RANGER-2749:
-----------------------------------

             Summary: 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


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