MAPREDUCE-5775. Remove unnecessary job.setNumReduceTasks in SleepJob.createJob. Contributed by jhanver chand sharma.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1587832 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
838602d23a
commit
8f0bc218b6
|
@ -38,6 +38,9 @@ Release 2.5.0 - UNRELEASED
|
|||
MAPREDUCE-5014. Extend Distcp to accept a custom CopyListing.
|
||||
(Srikanth Sundarrajan via amareshwari)
|
||||
|
||||
MAPREDUCE-5775. Remove unnecessary job.setNumReduceTasks in SleepJob.createJob
|
||||
(jhanver chand sharma via devaraj)
|
||||
|
||||
Release 2.4.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -219,7 +219,6 @@ public class SleepJob extends Configured implements Tool {
|
|||
Job job = Job.getInstance(conf, "sleep");
|
||||
job.setNumReduceTasks(numReducer);
|
||||
job.setJarByClass(SleepJob.class);
|
||||
job.setNumReduceTasks(numReducer);
|
||||
job.setMapperClass(SleepMapper.class);
|
||||
job.setMapOutputKeyClass(IntWritable.class);
|
||||
job.setMapOutputValueClass(NullWritable.class);
|
||||
|
|
|
@ -208,7 +208,6 @@ public class SleepJob extends Configured implements Tool {
|
|||
Job job = Job.getInstance(conf, "sleep");
|
||||
job.setNumReduceTasks(numReducer);
|
||||
job.setJarByClass(SleepJob.class);
|
||||
job.setNumReduceTasks(numReducer);
|
||||
job.setMapperClass(SleepMapper.class);
|
||||
job.setMapOutputKeyClass(IntWritable.class);
|
||||
job.setMapOutputValueClass(NullWritable.class);
|
||||
|
|
Loading…
Reference in New Issue