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

Kihwal Lee commented on HDFS-15755:
-----------------------------------

I tried to add powermock a long time ago in HADOOP-7537 and someone else in 
HADOOP-9122.  They all met with oppositions. 

> Add option to set retry times of checking failure volume and Import powermock 
> for mock static method
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-15755
>                 URL: https://issues.apache.org/jira/browse/HDFS-15755
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs, test
>            Reporter: Yang Yun
>            Assignee: Yang Yun
>            Priority: Minor
>         Attachments: HDFS-15755.001.patch, HDFS-15755.002.patch, 
> HDFS-15755.003.patch
>
>
> For some mounted remote volume, small network shaking may causes the failure 
> of volume checking and the the volume will removed out from datanode. Add an 
> option to set retry times and interval according to StorageType.
> For mocking static methods in unit test, import PowerMock to 
> hadoop-hdfs-project.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to