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:
Arun Murthy 2013-10-01 01:24:27 +00:00
parent 74d20250ff
commit 9c24615ae6
2 changed files with 11 additions and 0 deletions

View File

@ -249,6 +249,10 @@ Release 2.1.2 - UNRELEASED
the job is really done - a bug caused by MAPREDUCE-5505. (Zhijie Shen via
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
INCOMPATIBLE CHANGES

View File

@ -47,6 +47,13 @@ public class SequenceFileAsBinaryOutputFormat
*/
static protected class WritableValueBytes extends org.apache.hadoop.mapreduce
.lib.output.SequenceFileAsBinaryOutputFormat.WritableValueBytes {
public WritableValueBytes() {
super();
}
public WritableValueBytes(BytesWritable value) {
super(value);
}
}
/**