[ 
https://issues.apache.org/jira/browse/HADOOP-3169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616255#action_12616255
 ] 

Raghu Angadi commented on HADOOP-3169:
--------------------------------------

I agree this is not required. It is just an extension of what this jira already 
proposes to to to. An improvement over an improvement :)

> This is useful if there are many clients (with different users) and all of 
> them keep creating and closing files.

I don't think this requires multiple clients or users. Imagine a case where a 
task writes one file and closes the file system. In that case, lease checker 
will stay as long as the task (because of FS cache) though there is one using 
it.

I did not mean to make it a requirement for this jira.

> LeaseChecker daemon should not be started in DFSClient constructor
> ------------------------------------------------------------------
>
>                 Key: HADOOP-3169
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3169
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3169_20080718.patch, 3169_20080721.patch, 
> 3169_20080723b.patch
>
>
> LeaseChecker daemon periodically renew leases with NameNode.  However, if 
> there is no file creation, LeaseChecker daemon should not be started for 
> saving resources and better performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to