[ 
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_20110419.patch

h1840_20110419.patch:
- incorporated Suresh's comments
- added a grace period so that the thread won't have to restart if the user 
application open and close files frequently.

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

Reply via email to