[
https://issues.apache.org/jira/browse/MAPREDUCE-7243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938788#comment-16938788
]
David Mollitor commented on MAPREDUCE-7243:
-------------------------------------------
Maybe best to do this in YARN. Would also help Spark.
https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ResourceSet.java#L80
Since the incoming Map is not expected to have any kind of ordering, probably
just easiest to randomize the Entry Set for each invocation of {{addResources}}
> Randomize List of Resources to Localize
> ---------------------------------------
>
> Key: MAPREDUCE-7243
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7243
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Components: nodemanager, performance
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
>
> https://github.com/apache/hadoop/blob/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/util/LocalResourceBuilder.java
> Add a new parameter to {{LocalResourceBuilder}} that allows the list of
> resources to be shuffled randomly. This will allow the Localizer to spread
> the load of requests so that not all of the NodeManagers are requesting to
> localize the same files, in the same order, from the same DataNodes,
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]