You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Chris Douglas (JIRA)" <ji...@apache.org> on 2017/11/22 16:44:00 UTC

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

Chris Douglas created MAPREDUCE-7013:
----------------------------------------

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