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

Íñigo Goiri commented on HDFS-14385:
------------------------------------

>From some of the reports, the targets could potentially be:
* TestRouterQuota takes 146 seconds for 11 tests (~13 per test) but we may need 
DNs for this one. Maybe we can reduce some of the times.
* TestRouterClientRejectOverload takes 63 seconds for 4 tests (~16 per test); 
this should be very doable.
* TestRouterAllResolver takes 44 seconds for 3 tests (~15 per test) but it 
needs a lot of name space stuff, could we mocked though.
* TestRouterRPCClientRetries takes 32 seconds for 3 tests (~10 per tests); this 
should be doable.

Another thing here would be to set the Router by default to use ports {{:0}} to 
allow running tests in parallel.

> RBF: Optimize MiniRouterDFSCluster with optional light weight MiniDFSCluster
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-14385
>                 URL: https://issues.apache.org/jira/browse/HDFS-14385
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: rbf
>            Reporter: He Xiaoqiao
>            Assignee: He Xiaoqiao
>            Priority: Major
>
> MiniRouterDFSCluster mimic federated HDFS cluster with routers to support RBF 
> test, In MiniRouterDFSCluster, it starts MiniDFSCluster with complete roles 
> of HDFS which have significant time cost. As HDFS-14351 discussed, it is 
> better to provide mock MiniDFSCluster/Namenodes as one option to support some 
> test case and reduce time cost.



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

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