Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4656 Add a container balancer tool or service for HDDS
  3. HDDS-6070

ContainerBalancerConfig doesn't read config from ozone-site.xml

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None

    Description

      Issue happens when we try to update the config of "hdds.container.balancer.utilization.threshold", but the value from the SCM log said it's always the "0.1", which is the default value.

      After checking the code, the construction of ContainerBalancerConfiguration doesn't comply with the pattern of "ConfigGroup", this ticket is to fix the issue to update the configuration from config file.

      Since the class needs to hold OzoneConfiguration for configuration check, the method of "initialize" is created for this requirement.

      Attachments

        Issue Links

          Activity

            People

              Symious Janus Chow
              Symious Janus Chow
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: