[ 
https://issues.apache.org/jira/browse/RANGER-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050896#comment-17050896
 ] 

Pradeep Agrawal commented on RANGER-2749:
-----------------------------------------

Thanks [~granthenke] : I will check this. 

Also if you have required changes at your end then you can attach the 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
>
> 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)

Reply via email to