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 11:39:50 GMT

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

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

Well, it wouldn't be the File object you'd need to mock as such, it'd be whatever reader or
stream you open to consume that file. 

Having thought about it some more, it's probably not worth the effort. I'm sure it's possible,
but the user's mapper or configure method code would need to be written in a way which allows
the mock objects to be injected in the right places, and would require a lot of non-mrunit
test fixture setup code that I doubt anyone would want to write. 

Using temp files would definitely be a lot easier. Let's go with that. 

                
> 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