Skip to content

Commit

Permalink
LIHADOOP-20626 Ignore slow start for considering reducer delay
Browse files Browse the repository at this point in the history
  • Loading branch information
nntnag17 committed Jun 7, 2016
1 parent b77fb61 commit 4e5114d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public void aggregate(HadoopApplicationData hadoopData) {
int reduceTaskSlowStartPercentage =
(int) (Double.parseDouble(data.getConf().getProperty(REDUCER_SLOW_START_CONFIG)) * 100);


//overwrite reduceTaskSlowStartPercentage to 100%. TODO: make use of the slow start percent
reduceTaskSlowStartPercentage = 100;

mapTasks = new TaskLevelAggregatedMetrics(data.getMapperData(), mapTaskContainerSize, data.getSubmitTime());

long reduceIdealStartTime = mapTasks.getNthPercentileFinishTime(reduceTaskSlowStartPercentage);
Expand Down

0 comments on commit 4e5114d

Please sign in to comment.