hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun C Murthy <...@yahoo-inc.com>
Subject Re: why reduce task can be scheduled before map tasks are 100% completed?
Date Mon, 03 Aug 2009 03:57:05 GMT
That check ensures sufficient #maps are completed before any of the  
reduces for the job are started.

The reduces 'shuffle' map outputs from completed maps, but don't get  
into the 'reduce' phase until all map-outputs are copied over.


PS: Moving this to mapreduce-dev@

On Aug 2, 2009, at 5:02 AM, 我的Gmail邮箱 wrote:

> Hi, everyone.
> In class org.apache.hadoop.mapred.JobInProgress, there is a public  
> method:
> scheduleReduces(), it will return true if "finishedMapTasks >=
> completedMapsForReduceSlowstart"
> and then the scheduler can schedule a new reduce task for a given
> taskTracker.
> but as I konw, reduce can not be started unitl map is 100%  
> completed. Does
> anyone can explain it? thanks a lot.

View raw message