Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
3.0.0
Description
private InputSplit[] getCombineSplits(JobConf job, int numSplits, Map<Path, PartitionDesc> pathToPartitionInfo) { ... LOG.info("number of splits " + result.size()); ... }
public InputSplit[] getSplits(JobConf job, int numSplits) throws IOException { ... LOG.info("Number of all splits " + result.size()); ... }
- Capitalize "N"umber in the first logging to be consistent across all logging statements
- Change the first logging message to be debug level seeing as it's in a private method.
It's an implementation logging and the entire total (most useful for a client) is captured in info level at the end of the public method.