Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8184

Too many metrics if containerLocalizer/ResourceLocalizationService uses ReadWriteDiskValidator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • nodemanager
    • None
    • Reviewed

    Description

      ContainerLocalizer or ResourceLocalizationService will use the ReadWriteDiskValidator as its disk validator when it downloads files if we configure the yarn.nodemanger.disk-validator to ReadWriteDiskValidator's name. In that case, ReadWriteDiskValidator will create a metric item for each directory localized, which will be too many metrics. We should let ContainerLocalizer only use the basic disk validator.

      Attachments

        1. YARN-8184.002.patch
          3 kB
          Yufei Gu
        2. YARN-8184.001.patch
          3 kB
          Yufei Gu

        Activity

          People

            yufeigu Yufei Gu
            yufeigu Yufei Gu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: