You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2011/08/13 00:05:27 UTC

[jira] [Created] (HDFS-2258) TestLeaseRecovery2 fails as lease hard limit is not reset to default

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


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

        

[jira] [Reopened] (HDFS-2258) TestLeaseRecovery2 fails as lease hard limit is not reset to default

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko reopened HDFS-2258:
---------------------------------------


Reopening to commit to trunk

> 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
>
>         Attachments: 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