MAPREDUCE-6373. The logger reports total input paths but it is referring

to input files. Contributed by Bibin A Chundatt.
This commit is contained in:
Devaraj K 2015-06-18 11:42:22 +05:30
parent 74351af3b7
commit 1babe50a2c
3 changed files with 5 additions and 3 deletions

View File

@ -477,6 +477,9 @@ Release 2.8.0 - UNRELEASED
MAPREDUCE-6363. [NNBench] Lease mismatch error when running with multiple
mappers. (Brahma Reddy Battula via aajisaka)
MAPREDUCE-6373. The logger reports total input paths but it is referring
to input files. (Bibin A Chundatt via devaraj)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -253,7 +253,7 @@ protected FileStatus[] listStatus(JobConf job) throws IOException {
LOG.debug("Time taken to get FileStatuses: "
+ sw.now(TimeUnit.MILLISECONDS));
}
LOG.info("Total input paths to process : " + result.length);
LOG.info("Total input files to process : " + result.length);
return result;
}

View File

@ -36,7 +36,6 @@
import org.apache.hadoop.fs.BlockLocation;
import org.apache.hadoop.fs.RemoteIterator;
import org.apache.hadoop.mapred.LocatedFileStatusFetcher;
import org.apache.hadoop.mapred.SplitLocationInfo;
import org.apache.hadoop.mapreduce.InputFormat;
import org.apache.hadoop.mapreduce.InputSplit;
import org.apache.hadoop.mapreduce.Job;
@ -287,7 +286,7 @@ protected List<FileStatus> listStatus(JobContext job
LOG.debug("Time taken to get FileStatuses: "
+ sw.now(TimeUnit.MILLISECONDS));
}
LOG.info("Total input paths to process : " + result.size());
LOG.info("Total input files to process : " + result.size());
return result;
}