[ https://issues.apache.org/jira/browse/HDFS-12615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16391593#comment-16391593 ]
Íñigo Goiri commented on HDFS-12615: ------------------------------------ {quote} BTW, I have a question, should us config the remote ns or data center's router to client? {quote} For the client, it's enough to setup the Router addresses as a {{ConfiguredFailoverProxyProvider}}, no need to setup the remote nameservices. The documentation [here|http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HDFSRouterFederation.html] shows the exmaple to access both directly and through the Router but you only need: {code} <configuration> <property> <name>dfs.nameservices</name> <value>ns-fed</value> </property> <property> <name>dfs.namenodes.ns-fed</name> <value>r1,r2</value> </property> <property> <name>dfs.namenode.rpc-address.ns-fed.r1</name> <value>router1:rpc-port</value> </property> <property> <name>dfs.namenode.rpc-address.ns-fed.r2</name> <value>router2:rpc-port</value> </property> <property> <name>dfs.client.failover.proxy.provider.ns-fed</name> <value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value> </property> <property> <name>dfs.client.failover.random.order</name> <value>true</value> </property> </configuration> {code} > Router-based HDFS federation phase 2 > ------------------------------------ > > Key: HDFS-12615 > URL: https://issues.apache.org/jira/browse/HDFS-12615 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Íñigo Goiri > Assignee: Íñigo Goiri > Priority: Major > Labels: RBF > > This umbrella JIRA tracks set of improvements over the Router-based HDFS > federation (HDFS-10467). -- 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