You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/07/30 19:48:42 UTC

[jira] [Resolved] (MAPREDUCE-1641) Job submission should fail if same uri is added for mapred.cache.files and mapred.cache.archives

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

Allen Wittenauer resolved MAPREDUCE-1641.
-----------------------------------------

    Resolution: Fixed

Likely fixed.

> Job submission should fail if same uri is added for mapred.cache.files and mapred.cache.archives
> ------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1641
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1641
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: distributed-cache
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Dick King
>         Attachments: BZ-3539321--off-0-20-101--2010-04-20.patch, duped-files-archives--off-0-20-101--2010-04-21.patch, duped-files-archives--off-0-20-101--2010-04-23--1819.patch, mapreduce-1641--2010-04-27.patch, mapreduce-1641--2010-05-19.patch, mapreduce-1641--2010-05-21.patch, patch-1641-ydist-bugfix.txt
>
>
> The behavior of mapred.cache.files and mapred.cache.archives is different during localization in the following way:
> If a jar file is added to mapred.cache.files,  it will be localized under TaskTracker under a unique path. 
> If a jar file is added to mapred.cache.archives, it will be localized under a unique path in a directory named the jar file name, and will be unarchived under the same directory.
> If same jar file is passed for both the configurations, the behavior undefined. Thus the job submission should fail.
> Currently, since distributed cache processes files before archives, the jar file will be just localized and not unarchived.



--
This message was sent by Atlassian JIRA
(v6.2#6252)