[
https://issues.apache.org/jira/browse/HDFS-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094920#comment-13094920
]
Hudson commented on HDFS-2258:
------------------------------
Integrated in Hadoop-Common-trunk-Commit #816 (See
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/816/])
HDFS-2258. Reset lease limits to default values in TestLeaseRecovery2.
Contributed by Konstantin Shvachko
shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1163821
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestLeaseRecovery2.java
> TestLeaseRecovery2 fails as lease hard limit is not reset to default
> --------------------------------------------------------------------
>
> Key: HDFS-2258
> URL: https://issues.apache.org/jira/browse/HDFS-2258
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node, test
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0, 0.23.0
>
> Attachments: leaseRecovery2-trunk.patch, leaseRecovery2-trunk.patch,
> leaseRecovery2-trunk.patch, leaseRecovery2.patch
>
>
> TestLeaseRecovery2.testSoftLeaseRecovery() fails as lease hard limit remains
> set to 1 sec from the previous test case. If initial file creation in
> testSoftLeaseRecovery() takes longer than 1 sec, NN correctly reassigns the
> lease to itself and starts recovery. The test fails as the client cannot
> hflush() and close the file.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira