Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7541 Upgrade Domains in HDFS
  3. HDFS-9005

Provide configuration support for upgrade domain

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1, 2.8.2
    • None
    • None
    • Reviewed

    Description

      As part of the upgrade domain feature, we need to provide a mechanism to specify upgrade domain for each datanode. One way to accomplish that is to allow admins specify an upgrade domain script that takes DN ip or hostname as input and return the upgrade domain. Then namenode will use it at run time to set DatanodeInfo's upgrade domain string. The configuration can be something like:

      <property>
      <name>dfs.namenode.upgrade.domain.script.file.name</name>
      <value>/etc/hadoop/conf/upgrade-domain.sh</value>
      </property>
      

      just like topology script,

      Attachments

        1. HDFS-9005-4.patch
          87 kB
          Ming Ma
        2. HDFS-9005-3.patch
          87 kB
          Ming Ma
        3. HDFS-9005-2.patch
          87 kB
          Ming Ma
        4. HDFS-9005.patch
          65 kB
          Ming Ma
        5. HDFS-9005.branch-2.8.001.patch
          87 kB
          Ming Ma

        Issue Links

          Activity

            People

              mingma Ming Ma
              mingma Ming Ma
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: