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

Document FairScheduler 'allowPreemptionFrom' queue property

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • 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

      How 'allowPreemptionFrom' works is discussed in YARN-5831. Basically, if the parent queue is non-preemptable, the children must be non-preemptable.

      1. YARN-6106.002.patch
        1 kB
        Yufei Gu
      2. YARN-6106.001.patch
        1 kB
        Yufei Gu

        Issue Links

          Activity

          Hide
          hadoopqa Hadoop QA added a comment -
          +1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 10s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 mvninstall 12m 50s trunk passed
          +1 mvnsite 0m 13s trunk passed
          +1 mvnsite 0m 10s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 asflicense 0m 17s The patch does not generate ASF License warnings.
          14m 1s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:a9ad5d6
          JIRA Issue YARN-6106
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12848432/YARN-6106.001.patch
          Optional Tests asflicense mvnsite
          uname Linux 283c0f36f07a 3.13.0-107-generic #154-Ubuntu SMP Tue Dec 20 09:57:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 60865c8
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/14717/console
          Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 10s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 mvninstall 12m 50s trunk passed +1 mvnsite 0m 13s trunk passed +1 mvnsite 0m 10s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 asflicense 0m 17s The patch does not generate ASF License warnings. 14m 1s Subsystem Report/Notes Docker Image:yetus/hadoop:a9ad5d6 JIRA Issue YARN-6106 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12848432/YARN-6106.001.patch Optional Tests asflicense mvnsite uname Linux 283c0f36f07a 3.13.0-107-generic #154-Ubuntu SMP Tue Dec 20 09:57:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 60865c8 modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site Console output https://builds.apache.org/job/PreCommit-YARN-Build/14717/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          rchiang Ray Chiang added a comment -

          Thanks Yufei Gu, for the patch. I recommend the following phrasing to clear up some grammar and ambiguities:

          determines whether the scheduler is allowed to preempt resources from the queue. The default is true. If a queue has this property set to false, this property will apply recursively to all child queues.

          Show
          rchiang Ray Chiang added a comment - Thanks Yufei Gu , for the patch. I recommend the following phrasing to clear up some grammar and ambiguities: determines whether the scheduler is allowed to preempt resources from the queue. The default is true. If a queue has this property set to false, this property will apply recursively to all child queues.
          Hide
          yufeigu Yufei Gu added a comment -

          Thanks Ray Chiang for the review. Uploaded the new patch.

          Show
          yufeigu Yufei Gu added a comment - Thanks Ray Chiang for the review. Uploaded the new patch.
          Hide
          hadoopqa Hadoop QA added a comment -
          +1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 15s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 mvninstall 13m 17s trunk passed
          +1 mvnsite 0m 13s trunk passed
          +1 mvnsite 0m 11s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 asflicense 0m 16s The patch does not generate ASF License warnings.
          14m 33s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:a9ad5d6
          JIRA Issue YARN-6106
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12848611/YARN-6106.002.patch
          Optional Tests asflicense mvnsite
          uname Linux adb9da8d3f8c 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / d79c645
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/14724/console
          Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 15s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 mvninstall 13m 17s trunk passed +1 mvnsite 0m 13s trunk passed +1 mvnsite 0m 11s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 asflicense 0m 16s The patch does not generate ASF License warnings. 14m 33s Subsystem Report/Notes Docker Image:yetus/hadoop:a9ad5d6 JIRA Issue YARN-6106 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12848611/YARN-6106.002.patch Optional Tests asflicense mvnsite uname Linux adb9da8d3f8c 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / d79c645 modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site Console output https://builds.apache.org/job/PreCommit-YARN-Build/14724/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          rchiang Ray Chiang added a comment -

          Looks good to me. +1.

          Will commit this soon.

          Show
          rchiang Ray Chiang added a comment - Looks good to me. +1. Will commit this soon.
          Hide
          rchiang Ray Chiang added a comment -

          Committed to trunk.

          Thanks Yufei Gu for the contribution!

          I will push this documentation fix to branch-2 once YARN-5831 is committed to the same branch.

          Show
          rchiang Ray Chiang added a comment - Committed to trunk. Thanks Yufei Gu for the contribution! I will push this documentation fix to branch-2 once YARN-5831 is committed to the same branch.
          Hide
          yufeigu Yufei Gu added a comment -

          Thanks Ray Chiang for quick turn around. Yes, we will waiting for YARN-6076.

          Show
          yufeigu Yufei Gu added a comment - Thanks Ray Chiang for quick turn around. Yes, we will waiting for YARN-6076 .
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11155 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11155/)
          YARN-6106. Document FairScheduler 'allowPreemptionFrom' queue property. (rchiang: rev 9bab85cadfdfa0d9071303452f72c0a5d008480a)

          • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/FairScheduler.md
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11155 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11155/ ) YARN-6106 . Document FairScheduler 'allowPreemptionFrom' queue property. (rchiang: rev 9bab85cadfdfa0d9071303452f72c0a5d008480a) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/FairScheduler.md
          Hide
          yufeigu Yufei Gu added a comment -

          FYI, YARN-6076 and YARN-5831 are in branch-2. Ray Chiang, can you help to check this into branch-2? Thanks.

          Show
          yufeigu Yufei Gu added a comment - FYI, YARN-6076 and YARN-5831 are in branch-2. Ray Chiang , can you help to check this into branch-2? Thanks.
          Hide
          rchiang Ray Chiang added a comment -

          Pushed to branch-2.

          Show
          rchiang Ray Chiang added a comment - Pushed to branch-2.
          Hide
          rchiang Ray Chiang added a comment -

          Closing with updated fix version.

          Show
          rchiang Ray Chiang added a comment - Closing with updated fix version.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development