merge MAPREDUCE-3630 from trunk
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1235642 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c929ba95a9
commit
ac9e1a8103
|
@ -510,6 +510,9 @@ Release 0.23.1 - Unreleased
|
||||||
MAPREDUCE-3717. JobClient test jar has missing files to run all the test programs.
|
MAPREDUCE-3717. JobClient test jar has missing files to run all the test programs.
|
||||||
(mahadev)
|
(mahadev)
|
||||||
|
|
||||||
|
MAPREDUCE-3630. Fixes a NullPointer exception while running TeraGen - if a
|
||||||
|
map is asked to generate 0 records. (Mahadev Konar via sseth)
|
||||||
|
|
||||||
Release 0.23.0 - 2011-11-01
|
Release 0.23.0 - 2011-11-01
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -238,7 +238,9 @@ public class TeraGen extends Configured implements Tool {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void cleanup(Context context) {
|
public void cleanup(Context context) {
|
||||||
checksumCounter.increment(total.getLow8());
|
if (checksumCounter != null) {
|
||||||
|
checksumCounter.increment(total.getLow8());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -307,5 +309,4 @@ public class TeraGen extends Configured implements Tool {
|
||||||
int res = ToolRunner.run(new Configuration(), new TeraGen(), args);
|
int res = ToolRunner.run(new Configuration(), new TeraGen(), args);
|
||||||
System.exit(res);
|
System.exit(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue