incubator-mrunit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Beech (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MRUNIT-98) DistributedCache support
Date Tue, 08 May 2012 10:39:48 GMT

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

Dave Beech commented on MRUNIT-98:
----------------------------------

My first plan was to try and simulate the cache without reading/writing any actual files,
by mocking the calls to DistributedCache and backing it with data preloaded into memory by
the test. Disk I/O in unit tests seems wrong, I always try and avoid it wherever possible!
But, I'm probably just over-complicating things - Jim, your suggestion might be the way forward
for a first stab at this. I'll try and put something together later and get it over to you
guys to check out. 

Agree the symlinks thing would be a mess, and would also cause a problem for Windows users.
It's annoying as that's the method I prefer using to get files from the cache myself. 
                
> DistributedCache support
> ------------------------
>
>                 Key: MRUNIT-98
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-98
>             Project: MRUnit
>          Issue Type: Bug
>            Reporter: Ajay Srivastava
>             Fix For: 1.0.0
>
>
> Created as MRUNIT-97 became a patch for InputSplits.

--
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

        

Mime
View raw message