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

Ayush Saxena commented on HDFS-15872:
-------------------------------------

Aren't logs not enough for this? I doubt the numbers could shoot up high for 
large clusters and the values will start rolling back to negatives.
Secondly this will bother the write code path, not sure what and how much 
performance impact

> Add the failed reason to Metrics during choosing Datanode.
> ----------------------------------------------------------
>
>                 Key: HDFS-15872
>                 URL: https://issues.apache.org/jira/browse/HDFS-15872
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: block placement, namenode
>         Environment: Add the failed reason to Metrics duiring  choosing 
> Datanode.
>            Reporter: Yang Yun
>            Assignee: Yang Yun
>            Priority: Minor
>         Attachments: HDFS-15872.001.patch
>
>
> Add the failed reason to metrics duiring choosing Datanode. So we can 
> troubleshoot or add storage related monitoring.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to