Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12555

HDFS federation should support configure secondary directory

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • 3.0.0
    • federation
    • None
    • 2.6.0-cdh5.10.0

    • Reviewed

    Description

      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>

      Attachments

        1. HDFS-12555.001.patch
          8 kB
          luoge123
        2. HDFS-12555.002.patch
          13 kB
          luoge123
        3. HDFS-12555.003.patch
          14 kB
          luoge123
        4. HDFS-12555.004.patch
          14 kB
          luoge123

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            luoge123 luoge123 Assign to me
            luoge123 luoge123

            Dates

              Created:
              Updated:

              Slack

                Issue deployment