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 "luoge123 (JIRA)" <ji...@apache.org> on 2017/09/27 03:13:00 UTC

[jira] [Created] (HDFS-12555) HDFS federation should support configure secondary directory

luoge123 created HDFS-12555:
-------------------------------

             Summary: HDFS federation should support configure secondary directory 
                 Key: HDFS-12555
                 URL: https://issues.apache.org/jira/browse/HDFS-12555
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: federation
            Reporter: luoge123


HDFS federation support multiple namenodes horizontally scales the file system namespace. As the amount of data grows, using a single group of namenodes to manage a single directory, namenode still achieves performance bottlenecks. In order to reduce the pressure of namenode, we can split out the secondary directory, and manager it by a new namenode. This is  transparent for users. 
For example, nn1 only manager the /user directory, when nn1 achieve performance bottlenecks, we can split out /user/hive directory, and ues nn2 to manager it.
That means core-site.xml should support as follows configuration.

   <property>
       <name>fs.viewfs.mounttable.nsX.link./user</name>
       <value>hdfs://nn1:8020/user</value>
    </property>

    <property>
       <name>fs.viewfs.mounttable.nsX.link./user/hive</name>
       <value>hdfs://nn2:8020/user/hive</value>
    </property>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org