You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "John Conwell (JIRA)" <ji...@apache.org> on 2014/06/13 23:13:01 UTC
[jira] [Created] (MRUNIT-213) MultipleOutputs for Reducers throws
Named output 'test' not defined
John Conwell created MRUNIT-213:
-----------------------------------
Summary: MultipleOutputs for Reducers throws Named output 'test' not defined
Key: MRUNIT-213
URL: https://issues.apache.org/jira/browse/MRUNIT-213
Project: MRUnit
Issue Type: Bug
Affects Versions: 1.1.0
Environment: OSX, IntelliJ, CDH4.6.0
Reporter: John Conwell
I pulled the unit test for testing multiple outputs for a reducer from the patch of MRUNIT-13 and the test fails with the exception:
java.lang.IllegalArgumentException: Named output 'test' not defined
at org.apache.hadoop.mapreduce.lib.output.MultipleOutputs.checkNamedOutputName(MultipleOutputs.java:188)
at org.apache.hadoop.mapreduce.lib.output.MultipleOutputs.write(MultipleOutputs.java:358)
at org.apache.hadoop.mapreduce.lib.output.MultipleOutputs.write(MultipleOutputs.java:343)
It looks like multiple reducer outputs needs to be setup in the Configuration object the same way MultipleOutputs.addNamedOutput() does.
I'm running cdh4.6.0
--
This message was sent by Atlassian JIRA
(v6.2#6252)