You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2007/12/11 01:54:43 UTC

[jira] Updated: (HADOOP-2401) Lease holder information should be passed in ClientProtocol.abandonBlock(...)

     [ https://issues.apache.org/jira/browse/HADOOP-2401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-2401:
-------------------------------------------

    Attachment: 2401_20071210.patch

> Lease holder information should be passed in ClientProtocol.abandonBlock(...)
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-2401
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2401
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.15.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.16.0
>
>         Attachments: 2401_20071210.patch
>
>
> Logically, only the lease holder can do abandonBlock(...).  However, since the file is visible to the other clients once it has been created.  It is possible for the other client to obtain block information for a file which is being created (i.e. not called complete(String, String) yet).  Then, they can do abandonBlock(...) with the obtained block information.
> I suggest to add lease holder information as a parameter in abandonBlock(...). So that we can make sure only the lease holder can do abandonBlock(...).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.