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

Chris Douglas commented on MAPREDUCE-7013:
------------------------------------------

MAPREDUCE-7011 is an example

> Tests of internal logic should not use the local FS as scratch space
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-7013
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7013
>             Project: Hadoop Map/Reduce
>          Issue Type: Test
>            Reporter: Chris Douglas
>
> MapReduce often manipulates files/permissions to ensure splits, dependencies, 
> and other user data are consistently managed. Unit tests of these internal 
> methods sometimes set up temporary hierarchies in a scratch directory on the 
> local FS to exercise these modules. However, dev environment quirks (e.g., 
> umask) can cause these tests to fail spuriously. Instead, this logic should 
> be validated by mocking the filesystem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to