[
https://issues.apache.org/jira/browse/HDFS-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-1840:
-----------------------------------------
Attachment: h1840_20110419b.patch
h1840_20110419b.patch:
- added {{setGraceSleepPeriod(..)}}
- added more details in the javadoc of {{gracePeriod}}
{noformat}
[exec] +1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 5 new or
modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning
messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number
of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs
(version 1.3.9) warnings.
[exec]
[exec] +1 release audit. The applied patch does not increase the
total number of release audit warnings.
[exec]
[exec] +1 system test framework. The patch passed system test
framework compile.
{noformat}
Running unit tests ...
> Terminate LeaseChecker when all writing files are closed.
> ---------------------------------------------------------
>
> Key: HDFS-1840
> URL: https://issues.apache.org/jira/browse/HDFS-1840
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs client
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h1840_20110418.patch, h1840_20110419.patch,
> h1840_20110419b.patch
>
>
> In {{DFSClient}}, when there are files opened for write, a {{LeaseChecker}}
> thread is started for updating the leases periodically. However, it never
> terminates when when all writing files are closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira