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

FairScheduler: app usage can go to negative

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: None
    • Labels:
      None

      Description

      FiCaSchedulerApp.containerCompleted checks, if the container being completed is in the active list:

            // Remove from the list of containers
            if (null == liveContainers.remove(containerId)) {
              return false;
            }
      

      Fair scheduler should do the same, otherwise multiple different container close events leave the application with negative resource usage in queue.getMetrics().releaseResources and attemptResourceUsage.decUsed

        Attachments

        1. YARN-6158.000.patch
          6 kB
          Miklos Szegedi

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                miklos.szegedi@cloudera.com Miklos Szegedi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: