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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to