[
https://issues.apache.org/jira/browse/HDFS-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14330037#comment-14330037
]
Xiaoyu Yao commented on HDFS-7491:
----------------------------------
Hi Ming, could you use Time.monotonicNow() in elapsed time calculation? It will
be more accurate and safe from system time changes. Otherwise, the patch looks
good to me.
> Add incremental blockreport latency to DN metrics
> -------------------------------------------------
>
> Key: HDFS-7491
> URL: https://issues.apache.org/jira/browse/HDFS-7491
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Reporter: Ming Ma
> Assignee: Ming Ma
> Priority: Minor
> Attachments: HDFS-7491-2.patch, HDFS-7491-3.patch,
> HDFS-7491-branch-2.patch, HDFS-7491.patch
>
>
> In a busy cluster, IBR processing could be delayed due to NN FSNamesystem
> lock and cause NN to throw NotReplicatedYetException to DFSClient and thus
> increase the overall application latency.
> This will be taken care of when we address the NN FSNamesystem lock
> contention issue.
> It is useful if we can provide IBR latency metrics from DN's point of view.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)