[
https://issues.apache.org/jira/browse/HDFS-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854295#action_12854295
]
Konstantin Shvachko commented on HDFS-1072:
-------------------------------------------
This is the right approach. A couple of nits:
# Long lines both in FSNamesystem and the test - should be 80.
# The message for RecoveryInProgressException in addition to the holder should
include file name (src), but should not guess "(should be namenode)".
> 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.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.
-
You can reply to this email to add a comment to the issue online.