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

UpdateCallDuration is calculated only when debug logging is enabled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: fairscheduler
    • Labels:
      None
    • Hadoop Flags:
      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 Karthik Kambatla

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: