MAPREDUCE-5551. Fix compat with hadoop-1 in SequenceFileAsBinaryOutputFormat.WritableValueBytes by re-introducing missing constructors. Contributed by Zhijie Shen.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1527848 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
74d20250ff
commit
9c24615ae6
|
@ -249,6 +249,10 @@ Release 2.1.2 - UNRELEASED
|
||||||
the job is really done - a bug caused by MAPREDUCE-5505. (Zhijie Shen via
|
the job is really done - a bug caused by MAPREDUCE-5505. (Zhijie Shen via
|
||||||
vinodkv)
|
vinodkv)
|
||||||
|
|
||||||
|
MAPREDUCE-5551. Fix compat with hadoop-1 in
|
||||||
|
SequenceFileAsBinaryOutputFormat.WritableValueBytes by re-introducing
|
||||||
|
missing constructors. (Zhijie Shen via acmurthy)
|
||||||
|
|
||||||
Release 2.1.1-beta - 2013-09-23
|
Release 2.1.1-beta - 2013-09-23
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -47,6 +47,13 @@ public class SequenceFileAsBinaryOutputFormat
|
||||||
*/
|
*/
|
||||||
static protected class WritableValueBytes extends org.apache.hadoop.mapreduce
|
static protected class WritableValueBytes extends org.apache.hadoop.mapreduce
|
||||||
.lib.output.SequenceFileAsBinaryOutputFormat.WritableValueBytes {
|
.lib.output.SequenceFileAsBinaryOutputFormat.WritableValueBytes {
|
||||||
|
public WritableValueBytes() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
public WritableValueBytes(BytesWritable value) {
|
||||||
|
super(value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue