hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1072) AlreadyBeingCreatedException with HDFS_NameNode as the lease holder
Date Mon, 12 Apr 2010 21:20:49 GMT

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

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

+1 patch looks good to me.

*Future work:*
We should create a test as following:
# create a file, write some bytes but not close it.
# let hard lease expire
# append to the file right after NN lease recovery starts but before it ends; keep retrying.
#- Expecting a RecoveryInProgressException in the first few append calls and succeed as soon
as the lease recovery is done.

Does it make sense?

> AlreadyBeingCreatedException with HDFS_NameNode as the lease holder
> -------------------------------------------------------------------
>
>                 Key: HDFS-1072
>                 URL: https://issues.apache.org/jira/browse/HDFS-1072
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client, name-node
>    Affects Versions: 0.21.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Erik Steffl
>             Fix For: 0.21.0
>
>         Attachments: HDFS-1072.branch-0.22-1.patch, HDFS-1072.branch-0.22.patch
>
>
> TestReadWhileWriting may fail by AlreadyBeingCreatedException with HDFS_NameNode as the
lease holder, which indicates that lease recovery is in an inconsistent state.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message