[
https://issues.apache.org/jira/browse/HDFS-15755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256397#comment-17256397
]
Yang Yun commented on HDFS-15755:
---------------------------------
Hi [~ayushtkn]
I update the description add code(HDFS-15755.002.patch) with new changes,
* Add options to set retry time and interval for volume checking according to
StorageType.
* Move the version to hadoop-project/pom.xml. the default verson of
mockito-core is 2.28.2, Powermock-2.0.4 is compatible with it.
> 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
>
>
> 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]