You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (Commented) (JIRA)" <ji...@apache.org> on 2012/01/17 21:39:41 UTC

[jira] [Commented] (HDFS-2803) Adding logging to LeaseRenewer for better lease expiration triage.

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

Todd Lipcon commented on HDFS-2803:
-----------------------------------

I think DEBUG level is more appropriate for both. Otherwise any time we run a dfs command like dfs -put, we'll end up with an INFO level message.
                
> Adding logging to LeaseRenewer for better lease expiration triage.
> ------------------------------------------------------------------
>
>                 Key: HDFS-2803
>                 URL: https://issues.apache.org/jira/browse/HDFS-2803
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>            Reporter: Jimmy Xiang
>            Priority: Minor
>              Labels: newbie
>
> It will be helpful to add some logging to LeaseRenewer when the daemon is terminated (Info level),
> and when the lease is renewed (Debug level).  Since lacking logging, it is hard to know
> if a DFS client doesn't renew the lease because it hangs, or the lease renewer daemon is gone somehow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira