Actually in the previous approach, progress reporting used to happen from a separate thread in tasks. The issues https://issues.apache.org/jira/browse/HADOOP-1431, https://issues.apache.org/jira/browse/HADOOP-1462 changed this behavior.
But, yes, I agree that incrCounter should be indicative of progress. > -----Original Message----- > From: Doug Cutting [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 11, 2007 5:11 AM > To: [email protected] > Subject: Re: Hadoop 0.15.0 - Reporter issue w/ timing out > > Devaraj Das wrote: > > There has been a change with respect to the way since progress > > reporting is done since 0.14. The application has to > explicitly send > > the status (incrCounter doesn't send any status). Even if the > > application hasn't made any progress, it is okay to call > setStatus with the earlier status. > > Should we consider this a bug? Incrementing a counter is a > sign of activity that should perhaps count towards keeping a > task alive. > > Doug >
