[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428472#comment-13428472
 ] 

Jason Lowe commented on MAPREDUCE-4514:
---------------------------------------

This also breaks when trying to create multiple symlinks to the same file, 
e.g.: {{x#a,x#b,x#c}} only creates the symlink for {{a}} instead of all three.

The problem is Container holds a map from resource Path to symlink String, but 
there could be multiple symlinks to the same source Path.
                
> Symlinks to peer distributed cache files no longer work
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4514
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4514
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: distributed-cache, mrv2
>    Affects Versions: 0.23.3, 2.0.1-alpha
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>
> Trying to create a symlink to another file that is specified for the 
> distributed cache will fail to create the link.  For example:
> hadoop jar ... -files "x,y,x#z"
> will localize the files x and y as x and y, but the z symlink for x will not 
> be created.  This is a regression from 1.x behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to