MAPREDUCE-5170. Fixed a wrong log message in CombineFileInputFormat class. Contributed by Sangjin Lee.
svn merge --ignore-ancestry -c 1526377 ../../trunk/ git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1526379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
30c03cc118
commit
6e132b1a2b
|
@ -84,6 +84,9 @@ Release 2.1.2 - UNRELEASED
|
|||
|
||||
MAPREDUCE-5503. Fixed a test issue in TestMRJobClient. (Jian He via vinodkv)
|
||||
|
||||
MAPREDUCE-5170. Fixed a wrong log message in CombineFileInputFormat class.
|
||||
(Sangjin Lee via vinodkv)
|
||||
|
||||
Release 2.1.1-beta - 2013-09-23
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -203,13 +203,13 @@ public abstract class CombineFileInputFormat<K, V>
|
|||
maxSize);
|
||||
}
|
||||
if (minSizeRack != 0 && maxSize != 0 && minSizeRack > maxSize) {
|
||||
throw new IOException("Minimum split size per rack" + minSizeRack +
|
||||
throw new IOException("Minimum split size per rack " + minSizeRack +
|
||||
" cannot be larger than maximum split size " +
|
||||
maxSize);
|
||||
}
|
||||
if (minSizeRack != 0 && minSizeNode > minSizeRack) {
|
||||
throw new IOException("Minimum split size per node" + minSizeNode +
|
||||
" cannot be smaller than minimum split " +
|
||||
throw new IOException("Minimum split size per node " + minSizeNode +
|
||||
" cannot be larger than minimum split " +
|
||||
"size per rack " + minSizeRack);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue