You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Dan Ziemba (JIRA)" <ji...@apache.org> on 2015/08/23 10:37:46 UTC

[jira] [Commented] (MRUNIT-157) allow null keys and values as output, expected output

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

Dan Ziemba commented on MRUNIT-157:
-----------------------------------

I think you are supposed to use NullWritable.get() in your job instead of just null.

> allow null keys and values as output, expected output
> -----------------------------------------------------
>
>                 Key: MRUNIT-157
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-157
>             Project: MRUnit
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Carlos Espinoza
>            Assignee: Jim Donofrio
>            Priority: Critical
>             Fix For: 1.2.0
>
>
> from comments at the end of MRUNIT-66:
> Hadoop allows null keys and values, when not used as intermediate keys,values between mappers and reducers. MRUnit should also allow allow null keys and values as output and expected output. The Serialization class will need to be modified to not try to copy null's into the output, expected output



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)