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-1840) Terminate LeaseChecker when all writing files are closed.
Date Tue, 19 Apr 2011 20:20:05 GMT

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

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

Thanks Suresh for the comments.

> Why is terminating the thread important?
Otherwise, the number of threads keeps increasing when there are multiple {{DFSClient}}. 
This is particular important for server applications like {{JobTracker}} or Oozie.

> 1. DFSClient.java ...
I will change everything in my next patch.

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

Mime
View raw message