[
https://issues.apache.org/jira/browse/MAPREDUCE-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100861#comment-13100861
]
Thomas Graves commented on MAPREDUCE-2958:
------------------------------------------
It looks like the mapred-defaults.xml isn't included in any of the
mapreduce-client jar files. It used to be in the client-core jar. That is
what was setting the default number of reduces to 1. The code current defaults
to 0 if not specified.
job.numReduceTasks = job.conf.getInt(MRJobConfig.NUM_REDUCES, 0);
> wordcount succeeds but doesn't output file
> ------------------------------------------
>
> Key: MAPREDUCE-2958
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2958
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Priority: Critical
> Fix For: 0.23.0
>
>
> I have been running wordcount out of the 23 examples jar. It says it
> succeeds but doesn't actually output a file.
> hadoop jar
> examples/hadoop-mapreduce-0.23.0-SNAPSHOT/hadoop-mapreduce-examples-0.23.0-SNAPSHOT.jar
> wordcount input output2
> input file is really basic:
> fdksajl
> dlkfsajlfljda;j
> kldfsjallj
> test
> one
> two
> test
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira