hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <tdunn...@maprtech.com>
Subject Re: ClientProtocol create、mkdirs 、rename and delete methods are not Idempotent
Date Mon, 29 Oct 2012 05:58:52 GMT
Create cannot be idempotent with sequential files.  Doing the same create
twice creates two different files.

On Sun, Oct 28, 2012 at 10:25 PM, lei liu <liulei412@gmail.com> wrote:

> Thanks Ted for your reply.
>
> What is the the problem of watches and sequential files?  If you can
> describe in detail, I can better understand the problem.
>
> 2012/10/29 Ted Dunning <tdunning@maprtech.com>
>
>> Create cannot be idempotent because of the problem of watches and
>> sequential files.
>>
>> Similarly, mkdirs, rename and delete cannot generally be idempotent.  In
>> particular applications, you might find it is OK to treat them as such, but
>> there are definitely applications where they are not idempotent.
>>
>>
>> On Sun, Oct 28, 2012 at 2:40 AM, lei liu <liulei412@gmail.com> wrote:
>>
>>> I think these methods should are idempotent, these methods should be repeated
>>> calls to be harmless by same client.
>>>
>>>
>>> Thanks,
>>>
>>> LiuLei
>>>
>>
>>
>

Mime
View raw message