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

Todd Lipcon commented on HDFS-3520:
-----------------------------------

Looks good, except I'd use "Util.monotonicNow()" so that the result isn't 
thrown off if the clock changes. Also probably want to round the resulting 
value to nearest int, no?
                
> Add transfer rate logging to TransferFsImage
> --------------------------------------------
>
>                 Key: HDFS-3520
>                 URL: https://issues.apache.org/jira/browse/HDFS-3520
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 1.2.0, 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>         Attachments: hdfs-3520-b1.txt, hdfs-3520.txt
>
>
> Logging the transfer rate for images and edits in TransferFsImage is useful 
> for debugging network issues, especially when using 
> dfs.datanode.balance.bandwidthPerSec.

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

        

Reply via email to