hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <tdunn...@veoh.com>
Subject Re: How to run Map/Reduce for iterative algorithms in Hadoop?
Date Tue, 21 Aug 2007 16:11:56 GMT

There are status global variables that you can set that might help with
that.


On 8/21/07 8:40 AM, "ChaoChun Liang" <ccliangnn@gmail.com> wrote:

> 
> 
> Enis Soztutar wrote:
>> 
>> for(int i=0;i<something;i++) {
>>   if(isDone())
>>     break;
>> 
>>   JobConf job = new JobConf(conf);
>>   job.addInputPath("foo");
>>   job.setOutputPath("bar");
>>   //set job parameters accordingly
>>   JobClient.runJob(job);
>> }
>> 
> 
> Can I get the result directly from the reduce and decide whether the next
> loop run or not? 
> For example, I would like to get the residual value directly from the reduce
> and to run the next loop if this value satisfied some criteria?
> 
> ChaoChun


Mime
View raw message