hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Li <fancye...@gmail.com>
Subject Re: when it's safe to read map-reduce result?
Date Fri, 28 Mar 2014 08:41:55 GMT
thanks. is the following codes safe?
int exitCode=ToolRunner.run()
if(exitCode==0){
   //safe to read result
}

On Fri, Mar 28, 2014 at 4:36 PM, Dieter De Witte <drdwitte@gmail.com> wrote:
> _SUCCES implies that the job has succesfully terminated, so this seems like
> a reasonable criterion.
>
> Regards, Dieter
>
>
> 2014-03-28 9:33 GMT+01:00 Li Li <fancyerii@gmail.com>:
>
>> I have a program that do some map-reduce job and then read the result
>> of the job.
>> I learned that hdfs is not strong consistent. when it's safe to read the
>> result?
>> as long as output/_SUCCESS exist?
>
>

Mime
View raw message