MAPREDUCE-5170. Fixed a wrong log message in CombineFileInputFormat class. Contributed by Sangjin Lee.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1526377 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db5322695a
commit
476eca47b5
|
@ -221,6 +221,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