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

Andras Salamon commented on OOZIE-3465:
---------------------------------------

[~matijhs] I think we can only remove the direct references. Of course it's 
possible that we still have commons-codec as transitive dependency.
 * I think you missed a few places where we use this library like 
[LiteWorkflowAppParser.java|https://github.com/apache/oozie/blob/master/core/src/main/java/org/apache/oozie/workflow/lite/LiteWorkflowAppParser.java]
 , could you please check it.
 * What version of commons-codec jars will be used after your patch? I think we 
should be consistent and use the same version everywhere. 

> 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