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

FairScheduler: app usage can go to negative

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0-alpha2
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment