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-1870) Refactor DFSClient.LeaseChecker
Date Mon, 02 May 2011 20:11:03 GMT

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

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

I ran tests locally.  All passed except for {{TestDatanodeBlockScanner}} but the failure is
not related to this.
{noformat}
Testcase: testBlockCorruptionRecoveryPolicy1 took 2.218 sec
	Caused an ERROR
Timed out waiting for corrupt replicas. Waiting for 1, but only found 0
java.util.concurrent.TimeoutException: Timed out waiting for corrupt replicas. Waiting for
1, but only found 0
	at org.apache.hadoop.hdfs.DFSTestUtil.waitCorruptReplicas(DFSTestUtil.java:308)
	at org.apache.hadoop.hdfs.TestDatanodeBlockScanner.blockCorruptionRecoveryPolicy(TestDatanodeBlockScanner.java:288)
	at org.apache.hadoop.hdfs.TestDatanodeBlockScanner.testBlockCorruptionRecoveryPolicy1(TestDatanodeBlockScanner.java:236)
{noformat}

> Refactor DFSClient.LeaseChecker
> -------------------------------
>
>                 Key: HDFS-1870
>                 URL: https://issues.apache.org/jira/browse/HDFS-1870
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: h1870_20110129.patch
>
>
> Two simply changes:
> - move the inner class {{LeaseChecker}} from {{DFSClient}} to a separated class;
> - rename {{LeaseChecker}} to {{LeaseRenewer}} since it is actually renewing lease instead
of checking lease.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message