You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Bolke de Bruin (JIRA)" <ji...@apache.org> on 2019/03/16 21:05:00 UTC

[jira] [Created] (RANGER-2370) Hadoop-common should be shaded in agents-common and agents-audit

Bolke de Bruin created RANGER-2370:
--------------------------------------

             Summary: Hadoop-common should be shaded in agents-common and agents-audit
                 Key: RANGER-2370
                 URL: https://issues.apache.org/jira/browse/RANGER-2370
             Project: Ranger
          Issue Type: Bug
          Components: plugins
    Affects Versions: 1.2.0
            Reporter: Bolke de Bruin


Hadoop-common pulls in a lot of dependencies, particularly Guava, Jersey that are also often used in other projects. Guava and Jersey are particularly notorious for being 'tough' dependencies as they are not backwards compatible.

As 'ranger-plugin-common' and 'ranger-plugins-audit' are to be integrated with 3rd party services this poses serious challenges. For example the Presto plugin (see linked issue) is currently blocked due to the reliance of Presto on Jersey 2, while Hadoop/Ranger use Jersey 1.X.

An example of how to shade Hadoop Common can be found here: [https://github.com/gchq/hadoop-common-shaded/] .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)