[ 
https://issues.apache.org/jira/browse/HDFS-16008?focusedWorklogId=594119&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-594119
 ]

ASF GitHub Bot logged work on HDFS-16008:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/May/21 17:09
            Start Date: 10/May/21 17:09
    Worklog Time Spent: 10m 
      Work Description: goiri commented on a change in pull request #2981:
URL: https://github.com/apache/hadoop/pull/2981#discussion_r629530054



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/site/markdown/HDFSRouterFederation.md
##########
@@ -241,6 +241,22 @@ Mount table permission can be set by following command:
 
 The option mode is UNIX-style permissions for the mount table. Permissions are 
specified in octal, e.g. 0755. By default, this is set to 0755.
 
+#### Init ViewFs To Router
+Router supports initializing the ViewFS mount point to the Router. The mapping 
directory protocol of ViewFS must be HDFS, and the initializer only supports 
one-to-one mapping.
+
+For example, use the following viewfs to configure the initial mount table to 
the router.
+
+    <configuration>
+      <property>
+        <name>fs.viewfs.mounttable.ClusterX.link./data</name>
+        <value>hdfs://nn1-clusterx.example.com:8020/data</value>
+      </property>
+    </configuration>
+
+The ViewFS mount table can be initialized to the Router by using the following 
command:
+
+    [hdfs]$ $HADOOP_HOME/bin/hdfs dfsrouteradmin -initViewFsToMountTable 
ClusterX

Review comment:
       Correct.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 594119)
    Time Spent: 2h 20m  (was: 2h 10m)

> RBF: Tool to initialize ViewFS Mapping to Router
> ------------------------------------------------
>
>                 Key: HDFS-16008
>                 URL: https://issues.apache.org/jira/browse/HDFS-16008
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: rbf
>    Affects Versions: 3.3.1
>            Reporter: zhu
>            Assignee: zhu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> This is a tool for initializing ViewFS Mapping to Router.
> Some companies are currently migrating from viewfs to router, I think they 
> need this tool.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to