You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2010/05/11 04:25:30 UTC

[jira] Commented: (HDFS-1141) completeFile does not check lease ownership

    [ https://issues.apache.org/jira/browse/HDFS-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866023#action_12866023 ] 

dhruba borthakur commented on HDFS-1141:
----------------------------------------

I think the previous code clearly distinguished (via the log message) whether the file was a valid file that was already completed or whether it has a lease. Does the new log message work if the file is already closed?

> completeFile does not check lease ownership
> -------------------------------------------
>
>                 Key: HDFS-1141
>                 URL: https://issues.apache.org/jira/browse/HDFS-1141
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Blocker
>         Attachments: hdfs-1141-branch20.txt, hdfs-1141.txt
>
>
> completeFile should check that the caller still owns the lease of the file that it's completing. This is for the 'testCompleteOtherLeaseHoldersFile' case in HDFS-1139.

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