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

Lukas Majercak commented on HDFS-13675:
---------------------------------------

Added patch000 to change the client retry policy configuration for these tests. 
The result is that the whole TestDFSAdminwithHA class finishes under 3 minutes 
on my machine.

> Speed up TestDFSAdminWithHA
> ---------------------------
>
>                 Key: HDFS-13675
>                 URL: https://issues.apache.org/jira/browse/HDFS-13675
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs, namenode
>            Reporter: Lukas Majercak
>            Assignee: Lukas Majercak
>            Priority: Major
>         Attachments: HDFS-13675.000.patch
>
>
> Currently, TestDFSAdminWithHA takes about 10 minutes to finish. The main 
> culprits are two tests:
> testListOpenFilesNN1DownNN2Down
>  
> that each take 3~ minutes to finish. This is because they both expect to fail 
> to connect to 2 namenodes, but the client retry policy has way too many 
> retries and exponential backoffs. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to