You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Fengnan Li (JIRA)" <ji...@apache.org> on 2019/04/15 05:05:00 UTC

[jira] [Created] (HDFS-14427) Optimize some testing set up logic in MiniRouterDFSCluster

Fengnan Li created HDFS-14427:
---------------------------------

             Summary: Optimize some testing set up logic in MiniRouterDFSCluster
                 Key: HDFS-14427
                 URL: https://issues.apache.org/jira/browse/HDFS-14427
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Fengnan Li
            Assignee: Fengnan Li


[https://github.com/apache/hadoop/blob/HDFS-13891/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/MiniRouterDFSCluster.java#L808]

the comment says one router is created per name service, while in the code one router is created per namenode in each nameservice.

There are a couple of things that might need to consider optimization:
 # make the code as the the comment
 # add some ways to specify the number of routers



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org