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 "Chris Douglas (JIRA)" <ji...@apache.org> on 2017/11/22 16:45:00 UTC

[jira] [Issue Comment Deleted] (MAPREDUCE-7013) Tests of internal logic should not use the local FS as scratch space

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

Chris Douglas updated MAPREDUCE-7013:
-------------------------------------
    Comment: was deleted

(was: 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org