You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2019/09/20 15:20:00 UTC

[jira] [Created] (MAPREDUCE-7242) Do Not Initialize Empty ArrayList in LocalContainerAllocator

David Mollitor created MAPREDUCE-7242:
-----------------------------------------

             Summary: Do Not Initialize Empty ArrayList in LocalContainerAllocator
                 Key: MAPREDUCE-7242
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7242
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: client
    Affects Versions: 3.2.0
            Reporter: David Mollitor
            Assignee: David Mollitor
         Attachments: MAPREDUCE-7242.1.patch

https://github.com/apache/hadoop/blob/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/local/LocalContainerAllocator.java#L107-L110

Just pass static empty collections and save the initialization.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org