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

-- 
View this message in context: 
http://www.nabble.com/How-to-run-Map-Reduce-for-iterative-algorithms-in-Hadoop--tf4303510.html#a12257260
Sent from the Hadoop Users mailing list archive at Nabble.com.

Reply via email to