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

Takanobu Asanuma commented on HDFS-14036:
-----------------------------------------

Uploaded the 2nd patch fixing the errors.

* Most of the failure are caused by using a fixed port. In the 1st patch, the 
default port(8888) overrides the random port when {{MiniRouterDFSCluster}} 
starts. So the 2nd patch sets the random port lazyly.

* Seems setting {{MockResolver}} to 
"dfs.federation.router.file.resolver.client.class" doesn't work well with 
{{TestRouterMountTable}}. The 2nd patch simply removes the setting. I'm not 
sure whether it affects other tests.

* Fixed a bug of loading "dfs.federation.router.client.mount-status.time-out" 
wrongly. It also affected {{TestRouterMountTable}} failures.

[~elgoiri] [~crh] Could you take a look?

> RBF: Add hdfs-rbf-default.xml to HdfsConfiguration by default
> -------------------------------------------------------------
>
>                 Key: HDFS-14036
>                 URL: https://issues.apache.org/jira/browse/HDFS-14036
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Íñigo Goiri
>            Assignee: Takanobu Asanuma
>            Priority: Major
>         Attachments: HDFS-14036-HDFS-13891.001.patch, 
> HDFS-14036-HDFS-13891.002.patch, HDFS-14036.001.patch
>
>
> Currently, the default values from hdfs-rbf-default.xml are not been set by 
> default.
> We should add them to HdfsConfiguration by default.
> This may break some unit tests so we would need to tune some RBF unit tests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to