Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2749

Ranger depends on commons-lang but doesn't specify it in it's pom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • plugins
    • None

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              granthenke Grant Henke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: