You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Jonathan Turner Eagles (Jira)" <ji...@apache.org> on 2020/03/06 21:18:00 UTC

[jira] [Updated] (TEZ-4131) Reduce apache commons collections direct dependencies

     [ https://issues.apache.org/jira/browse/TEZ-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Turner Eagles updated TEZ-4131:
----------------------------------------
    Issue Type: Improvement  (was: Bug)

> Reduce apache commons collections direct dependencies
> -----------------------------------------------------
>
>                 Key: TEZ-4131
>                 URL: https://issues.apache.org/jira/browse/TEZ-4131
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Jonathan Turner Eagles
>            Priority: Major
>
> Tez has limited use of direct apache commons collects, but ships both commons collections 3 and 4
> {noformat:title=Dependent jars}
> commons-collections-3.2.2.jar
> commons-collections4-4.1.jar
> {noformat}
> {noformat:title=Usage}
> $ git grep org.apache.commons.coll
> tez-api/src/main/java/org/apache/tez/dag/api/DAG.java:import org.apache.commons.collections4.BidiMap;
> tez-api/src/main/java/org/apache/tez/dag/api/DAG.java:import org.apache.commons.collections4.bidimap.DualLinkedHashBidiMap;
> tez-dag/src/main/java/org/apache/tez/dag/app/TaskCommunicatorManager.java:import org.apache.commons.collections4.ListUtils;
> tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/mapred/MRCounters.java:import org.apache.commons.collections.IteratorUtils;
> tez-plugins/tez-history-parser/src/main/java/org/apache/tez/history/parser/datamodel/DagInfo.java:import org.apache.commons.collections.BidiMap;
> tez-plugins/tez-history-parser/src/main/java/org/apache/tez/history/parser/datamodel/DagInfo.java:import org.apache.commons.collections.bidimap.DualHashBidiMap;
> {noformat}
> Likely, we can either converge on either commons collections 3 or 4 or remove them all together if a viable substitute for the bidirectional maps can be found.



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