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

Mate Juhasz commented on OOZIE-3465:
------------------------------------

Andras I uploaded an initial patch in which we dont use commons-codec directly 
anymore, however it comes in as a transitive dependecy from hadoop-yarn-common, 
hadoop-common, hadoop-auth, hadoop-hdfs, httpclient, spark-hive, hive-exec and 
pig... so its a mess :) I added exclusions where we include oozie-core, because 
it brings the transitive commons-codec from direct dependencies with itself. I 
tried to minimise the presence of commons-codec on the sharelib this way. 

What do you think?

> Migrate from commons-codec
> --------------------------
>
>                 Key: OOZIE-3465
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3465
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Andras Salamon
>            Assignee: Mate Juhasz
>            Priority: Major
>         Attachments: OOZIE-3465.patch
>
>
> Ooize uses {{commons-codec}} 1.4 which is almost [10 
> years|https://commons.apache.org/proper/commons-codec/changes-report.html] 
> old. We hardly use this library I've only found a few references to the 
> {{Base64}} class in Oozie. Java8 defines a 
> [Base64|https://docs.oracle.com/javase/8/docs/api/java/util/Base64.html] 
> class which we could use instead.
> We should be careful to put this jar into the sharelibs if and only if some 
> other library requires it. 



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

Reply via email to