Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1946

du should be not called on every heartbeat

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.15.0
    • Component/s: None
    • Labels:
      None

      Description

      Data-nodes run very slow. The reason is that du is executed on each and every heartbeat.
      Looks like the condition in DU.getUsed(), which triggers the refresh of cached values, should be reversed.

        Attachments

        1. du.patch
          0.5 kB
          Hairong Kuang
        2. du.patch
          7 kB
          Hairong Kuang
        3. du2.patch
          15 kB
          Hairong Kuang

          Issue Links

            Activity

              People

              • Assignee:
                hairong Hairong Kuang
                Reporter:
                shv Konstantin Shvachko
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: