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

Too many metrics if containerLocalizer/ResourceLocalizationService uses ReadWriteDiskValidator

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: nodemanager
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: