Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13891 HDFS RBF stabilization phase I
  3. HDFS-14351

RBF: Optimize configuration item resolving for monitor namenode

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, HDFS-13891
    • rbf
    • None
    • Reviewed

    Description

      We invoke configuration.get to resolve configuration item `dfs.federation.router.monitor.namenode` at `Router.java`, then split the value by comma to get nsid and nnid, it may confused users since this is not compatible with blank space but other common parameters could do. The following segment show example that resolve fails.

        <property>
          <name>dfs.federation.router.monitor.namenode</name>
          <value>nameservice1.nn1, nameservice1.nn2</value>
          <description>
            The identifier of the namenodes to monitor and heartbeat.
          </description>
        </property>
      

      Attachments

        1. HDFS-14351.001.patch
          2 kB
          Xiaoqiao He
        2. HDFS-14351.002.patch
          2 kB
          Xiaoqiao He
        3. HDFS-14351-HDFS-13891.001.patch
          3 kB
          Xiaoqiao He
        4. HDFS-14351-HDFS-13891.002.patch
          8 kB
          Xiaoqiao He
        5. HDFS-14351-HDFS-13891.003.patch
          7 kB
          Xiaoqiao He
        6. HDFS-14351-HDFS-13891.004.patch
          7 kB
          Xiaoqiao He
        7. HDFS-14351-HDFS-13891.005.patch
          22 kB
          Íñigo Goiri
        8. HDFS-14351-HDFS-13891.006.patch
          24 kB
          Íñigo Goiri

        Activity

          People

            hexiaoqiao Xiaoqiao He
            hexiaoqiao Xiaoqiao He
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: