MAPREDUCE-6406. Update

FileOutputCommitter.FILEOUTPUTCOMMITTER_ALGORITHM_VERSION_DEFAULT to match
mapred-default.xml. Contributed by Ray Chiang.
This commit is contained in:
Devaraj K 2015-06-23 10:23:44 +05:30
parent 99271b7621
commit 41ae7768eb
3 changed files with 5 additions and 2 deletions

View File

@ -200,6 +200,9 @@ Trunk (Unreleased)
MAPREDUCE-6396. TestPipeApplication fails by NullPointerException. MAPREDUCE-6396. TestPipeApplication fails by NullPointerException.
(Brahma Reddy Battula via aajisaka) (Brahma Reddy Battula via aajisaka)
MAPREDUCE-6406. Update FileOutputCommitter.FILEOUTPUTCOMMITTER_ALGORITHM_VERSION_DEFAULT
to match mapred-default.xml. (Ray Chiang via devaraj)
BREAKDOWN OF MAPREDUCE-2841 (NATIVE TASK) SUBTASKS BREAKDOWN OF MAPREDUCE-2841 (NATIVE TASK) SUBTASKS
MAPREDUCE-5985. native-task: Fix build on macosx. Contributed by MAPREDUCE-5985. native-task: Fix build on macosx. Contributed by

View File

@ -63,7 +63,7 @@ public class FileOutputCommitter extends OutputCommitter {
"mapreduce.fileoutputcommitter.marksuccessfuljobs"; "mapreduce.fileoutputcommitter.marksuccessfuljobs";
public static final String FILEOUTPUTCOMMITTER_ALGORITHM_VERSION = public static final String FILEOUTPUTCOMMITTER_ALGORITHM_VERSION =
"mapreduce.fileoutputcommitter.algorithm.version"; "mapreduce.fileoutputcommitter.algorithm.version";
public static final int FILEOUTPUTCOMMITTER_ALGORITHM_VERSION_DEFAULT = 1; public static final int FILEOUTPUTCOMMITTER_ALGORITHM_VERSION_DEFAULT = 2;
private Path outputPath = null; private Path outputPath = null;
private Path workPath = null; private Path workPath = null;
private final int algorithmVersion; private final int algorithmVersion;

View File

@ -1326,7 +1326,7 @@
<value>2</value> <value>2</value>
<description>The file output committer algorithm version <description>The file output committer algorithm version
valid algorithm version number: 1 or 2 valid algorithm version number: 1 or 2
default to 1, which is the original algorithm default to 2, which is the original algorithm
In algorithm version 1, In algorithm version 1,