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

Erik Krogen commented on HDFS-14748:
------------------------------------

I don't see any reason this can't be configurable. Can you please fix the 
checkstyle issues? I also think that the new {{minOutlierDetectionSamples}} 
field should be {{final}} since it is only set in the constructor, and I think 
that the new {{getMinOutlierDetectionSamples()}} method should be 
package-private.

> Make DataNodePeerMetrics#minOutlierDetectionSamples configurable
> ----------------------------------------------------------------
>
>                 Key: HDFS-14748
>                 URL: https://issues.apache.org/jira/browse/HDFS-14748
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Lisheng Sun
>            Assignee: Lisheng Sun
>            Priority: Major
>         Attachments: HDFS-14748.001.patch, HDFS-14748.002.patch
>
>
> Slow node monitoring is to transfer 1000 packets between DataNodes within 
> three hours before they are eligible to calculate and upload transmission 
> delays to the namenode.
> But if Write data is very small and number of packets is less than 1000, the 
> slow node will not be reported to NameNode, so make 
> DataNodePeerMetrics#minOutlierDetectionSamplesconfigurable.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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