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

UpdateCallDuration is calculated only when debug logging is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • fairscheduler
    • None
    • Reviewed

    Description

      In the update thread of Fair Scheduler, the fsOpDurations.addUpdateCallDuration() records the duration of update(), it should be independent to LOG level. YARN-4752 put the it inside a LOG.isDebugEnabled() block. Not sure any particular reason to do that. cc kasha

      Attachments

        1. YARN-6112.001.patch
          1 kB
          Yufei Gu
        2. YARN-6112.002.patch
          1 kB
          Yufei Gu
        3. YARN-6112.003.patch
          3 kB
          Yufei Gu
        4. YARN-6112.branch-2.001.patch
          2 kB
          Yufei Gu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: