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

Xiaobing Zhou commented on HDFS-10913:
--------------------------------------

Posted v004 patch.
# added some log functions in DataNodeFaultInjector to make it easy to verify 
slow operations in terms of timing.
# added some extra tests to cover 4 scenarios of slow data nodes.

I will to add test in next patch for delaySyncingWriterOsCache.

> Refactor BlockReceiver by introducing faults injector to enhance testability 
> of detecting slow mirrors
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-10913
>                 URL: https://issues.apache.org/jira/browse/HDFS-10913
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.8.0
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HDFS-10913.000.patch, HDFS-10913.001.patch, 
> HDFS-10913.002.patch, HDFS-10913.003.patch, HDFS-10913.004.patch
>
>
> BlockReceiver#datanodeSlowLogThresholdMs is used as threshold to detect slow 
> mirrors. BlockReceiver only writes some warning logs. In order to better test 
> behaviors of slow mirrors, it necessitates introducing fault injectors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to