mrunit-dev mailing list archives

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


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message