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

FairScheduler: Cleanup preemptContainer to be more readable

    Details

    • Hadoop Flags:
      Reviewed

      Description

      In FairScheduler#preemptContainer, we check if a queue is preemptable. The code there could be cleaner if we don't use continue, but just the plain old if-else.

        Attachments

          Activity

            People

            • Assignee:
              lewuathe Kai Sasaki
              Reporter:
              kasha Karthik Kambatla
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: