Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.3.5
-
None
-
None
Description
Distcp can collect IOStatisticsContext counter values and report them to the console. it can't do the timings in min/mean/max though, as there's no way to aggregate them properly.
- Publish statistics to MapReduce counters in the tasks within CopyMapper.copyFileWithRetry().
- The counters will be automatically logged in Job.monitorAndPrintJob() when DistCp is executed with the -verbose option; no need for changes there.
- We could also publish the iOStatistic means by publishing sample count and total sum as two separate counters
- In AbstractContractDistCpTest, add an override point for subclasses to list which metrics they will issue; assert that values are generated.