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

Tsz Wo (Nicholas), SZE commented on HDFS-1141:
----------------------------------------------

> Not sure what you're referring to ...
Oops, I mixed up pendingFile and fileBlocks.

I just have checked the codes.  fileBlocks also won't possibly be null, given 
that pendingFile is an INodeFileUnderConstruction.

+1 the new patch looks good.

> 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, 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.

Reply via email to