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

Admin command resetBalancerBandwidth

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • balancer & mover
    • None
    • Fix due to the unit test error.
    • Patch

    Description

      We can already set balancer bandwidth dynamically using command setBalancerBandwidth. The setting value is not persistent and not stored in configuration file. The different datanodes could their different default or former setting in configuration.
      When we suggested to develop a schedule balancer task which runs at midnight everyday. We set a larger bandwidth for it and hope to reset the value after finishing. However, we found it difficult to reset the different setting for different datanodes as the setBalancerBandwidth command can only set the same value to all datanodes. If we want to use unique setting for every datanode, we have to reset the datanodes.
      So it would be useful to have a command to synchronize the setting with the configuration file.

      Attachments

        1. 0003-HDFS-12859-Admin-command-resetBalancerBandwidth.patch
          16 kB
          Jianfei Jiang
        2. 0004-HDFS-12859-Admin-command-resetBalancerBandwidth.patch
          16 kB
          Jianfei Jiang
        3. HDFS-12859.patch
          14 kB
          Jianfei Jiang

        Activity

          People

            jiangjianfei Jianfei Jiang
            jiangjianfei Jianfei Jiang
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: