[jira] [Commented] (MAPREDUCE-4514) Symlinks to peer distributed cache files no longer work

2012-08-03 Thread Jason Lowe (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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




[jira] [Commented] (MAPREDUCE-4514) Symlinks to peer distributed cache files no longer work

2012-08-03 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on MAPREDUCE-4514:
--

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12539121/MAPREDUCE-4514.patch
  against trunk revision .

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 3 new or modified test 
files.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 eclipse:eclipse.  The patch built with eclipse:eclipse.

+1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

+1 core tests.  The patch passed unit tests in 
hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager.

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2707//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2707//console

This message is automatically generated.

 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
 Attachments: MAPREDUCE-4514.patch


 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