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 "He Xiaoqiao (JIRA)" <ji...@apache.org> on 2019/03/10 16:38:00 UTC

[jira] [Created] (HDFS-14351) Optimize configuration item resolving for monitor namenode

He Xiaoqiao created HDFS-14351:
----------------------------------

             Summary: Optimize configuration item resolving for monitor namenode
                 Key: HDFS-14351
                 URL: https://issues.apache.org/jira/browse/HDFS-14351
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: rbf
            Reporter: He Xiaoqiao
            Assignee: He Xiaoqiao


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.
{code:java}
  <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>
{code}



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