There are status global variables that you can set that might help with
that.
On 8/21/07 8:40 AM, "ChaoChun Liang" <[EMAIL PROTECTED]> 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