[ 
https://issues.apache.org/jira/browse/HDFS-14351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16796792#comment-16796792
 ] 

He Xiaoqiao commented on HDFS-14351:
------------------------------------

Pull [^HDFS-14351-HDFS-13891.006.patch] and test pass locally, time cost is 
same as [~elgoiri]. +1 for [^HDFS-14351-HDFS-13891.006.patch].
 Build quick-and-dirty MiniRouterDFSCluster with MockNamenode replace 
MiniDFSCluster and compare setup time cost, MiniRouterDFSCluter with 
MockNamenode takes 2.8s vs native MiniRouterDFSCluter takes 10.2s.
{quote}I think we should create a new JIRA to have a light weight 
MiniDFSCluster equivalent with these MockNamenodes.
{quote}
+1, it is not necessary for some tests to setup all roles of Cluster. As 
mentioned above, maybe we should build MockMiniDFSCluter replace with 
MockNamenodes.

> RBF: 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
>            Priority: Major
>         Attachments: HDFS-14351-HDFS-13891.001.patch, 
> HDFS-14351-HDFS-13891.002.patch, HDFS-14351-HDFS-13891.003.patch, 
> HDFS-14351-HDFS-13891.004.patch, HDFS-14351-HDFS-13891.005.patch, 
> HDFS-14351-HDFS-13891.006.patch, HDFS-14351.001.patch, HDFS-14351.002.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to