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

Matt Foley commented on MAPREDUCE-4396:
---------------------------------------

The patch for HADOOP-8734 is the same in LocalJobRunner.java.  However, that 
patch includes a proper unit test change in TestMRWithDistributedCache.java.  
@Yu, your comment above that "This patch can be verified by running unit test 
TestMRWithDistributedCache in a user directory with restrictive permission 
(e.g. 700)" is correct, but the conclusion that therefore no new unit test is 
necessary is incorrect.  What's necessary is a unit test that does precisely 
that.  The patch from HADOOP-8734 provides such a patch.

I've merged the unit test patch to hadoop-1 and hadoop-1.1.
                
> Make LocalJobRunner work with private distributed cache
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4396
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4396
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.0.3
>            Reporter: Luke Lu
>            Assignee: Yu Gao
>            Priority: Minor
>         Attachments: mapreduce-4396-branch-1.patch, test-afterpatch.result, 
> test-beforepatch.result, test-patch.result
>
>
> Some LocalJobRunner related unit tests fails if user directory permission 
> and/or umask is too restrictive.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to