Jonathan Turner Eagles created TEZ-4131:
-------------------------------------------

             Summary: Reduce apache commons collections direct dependencies
                 Key: TEZ-4131
                 URL: https://issues.apache.org/jira/browse/TEZ-4131
             Project: Apache Tez
          Issue Type: Bug
            Reporter: Jonathan Turner Eagles


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)

Reply via email to