MAPREDUCE-6406. Update
FileOutputCommitter.FILEOUTPUTCOMMITTER_ALGORITHM_VERSION_DEFAULT to match mapred-default.xml. Contributed by Ray Chiang.
This commit is contained in:
parent
99271b7621
commit
41ae7768eb
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user