[
https://issues.apache.org/jira/browse/MAPREDUCE-6128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221483#comment-14221483
]
Sangjin Lee commented on MAPREDUCE-6128:
----------------------------------------
Specifically about whether the first-entry-wins makes more sense over the
last-entry-wins, yes, I think that's more consistent with how a classpatth
would behave.
Having said that, do we need to actively detect entries with the same
filenames? We know there is a problem if two files with the same name are
included in the distributed cache, and we make no guarantees on what the
outcome will be. I think warning about the duplication and still adding them
may be more inline with the existing behavior. Thoughts?
> Automatic addition of bundled jars to distributed cache
> --------------------------------------------------------
>
> Key: MAPREDUCE-6128
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6128
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: client
> Affects Versions: 2.5.1
> Reporter: Gera Shegalov
> Assignee: Gera Shegalov
> Attachments: MAPREDUCE-6128.v01.patch, MAPREDUCE-6128.v02.patch,
> MAPREDUCE-6128.v03.patch, MAPREDUCE-6128.v04.patch, MAPREDUCE-6128.v05.patch,
> MAPREDUCE-6128.v06.patch, MAPREDUCE-6128.v07.patch, MAPREDUCE-6128.v08.patch
>
>
> On the client side, JDK adds Class-Path elements from the job jar manifest
> on the classpath. In theory there could be many bundled jars in many
> directories such that adding them manually via libjars or similar means to
> task classpaths is cumbersome. If this property is enabled, the same jars are
> added
> to the task classpaths automatically.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)