Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14603 Über-JIRA: HDFS RBF stabilization phase II
  3. HDFS-14427

RBF: Optimize some testing set up logic in MiniRouterDFSCluster

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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:

      1. make the code as the the comment
      2. add some ways to specify the number of routers

      Attachments

        Activity

          People

            fengnanli Fengnan Li
            fengnanli Fengnan Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: