Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6592 [Umbrella] Rich placement constraints in YARN
  3. YARN-7807

Assume intra-app anti-affinity as default for scheduling request inside AppPlacementAllocator

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None

    Description

      See discussion on: https://issues.apache.org/jira/browse/YARN-7791?focusedCommentId=16336857&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16336857

      We need to make changes to AppPlacementAllocator to treat default target allocation tags is for intra-app.

      Attachments

        Activity

          genericqa genericqa added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 33s Docker mode activated.
                Prechecks
          +1 @author 0m 0s The patch does not contain any @author tags.
          -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
                YARN-6592 Compile Tests
          +1 mvninstall 15m 36s YARN-6592 passed
          +1 compile 0m 36s YARN-6592 passed
          +1 checkstyle 0m 24s YARN-6592 passed
          +1 mvnsite 0m 39s YARN-6592 passed
          +1 shadedclient 9m 41s branch has no errors when building and testing our client artifacts.
          +1 findbugs 1m 4s YARN-6592 passed
          +1 javadoc 0m 24s YARN-6592 passed
                Patch Compile Tests
          +1 mvninstall 0m 38s the patch passed
          +1 compile 0m 35s the patch passed
          +1 javac 0m 35s the patch passed
          +1 checkstyle 0m 21s the patch passed
          +1 mvnsite 0m 37s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 shadedclient 10m 10s patch has no errors when building and testing our client artifacts.
          +1 findbugs 1m 11s the patch passed
          +1 javadoc 0m 21s the patch passed
                Other Tests
          +1 unit 76m 11s hadoop-yarn-server-resourcemanager in the patch passed.
          +1 asflicense 0m 19s The patch does not generate ASF License warnings.
          119m 5s



          Subsystem Report/Notes
          Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:5b98639
          JIRA Issue YARN-7807
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12907454/YARN-7807-YARN-6592.001.patch
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
          uname Linux bc12204122c2 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/patchprocess/precommit/personality/provided.sh
          git revision YARN-6592 / 6965000
          maven version: Apache Maven 3.3.9
          Default Java 1.8.0_151
          findbugs v3.1.0-RC1
          Test Results https://builds.apache.org/job/PreCommit-YARN-Build/19426/testReport/
          Max. process+thread count 869 (vs. ulimit of 5000)
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/19426/console
          Powered by Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          genericqa genericqa added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 33s Docker mode activated.       Prechecks +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.       YARN-6592 Compile Tests +1 mvninstall 15m 36s YARN-6592 passed +1 compile 0m 36s YARN-6592 passed +1 checkstyle 0m 24s YARN-6592 passed +1 mvnsite 0m 39s YARN-6592 passed +1 shadedclient 9m 41s branch has no errors when building and testing our client artifacts. +1 findbugs 1m 4s YARN-6592 passed +1 javadoc 0m 24s YARN-6592 passed       Patch Compile Tests +1 mvninstall 0m 38s the patch passed +1 compile 0m 35s the patch passed +1 javac 0m 35s the patch passed +1 checkstyle 0m 21s the patch passed +1 mvnsite 0m 37s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 shadedclient 10m 10s patch has no errors when building and testing our client artifacts. +1 findbugs 1m 11s the patch passed +1 javadoc 0m 21s the patch passed       Other Tests +1 unit 76m 11s hadoop-yarn-server-resourcemanager in the patch passed. +1 asflicense 0m 19s The patch does not generate ASF License warnings. 119m 5s Subsystem Report/Notes Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:5b98639 JIRA Issue YARN-7807 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12907454/YARN-7807-YARN-6592.001.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle uname Linux bc12204122c2 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/patchprocess/precommit/personality/provided.sh git revision YARN-6592 / 6965000 maven version: Apache Maven 3.3.9 Default Java 1.8.0_151 findbugs v3.1.0-RC1 Test Results https://builds.apache.org/job/PreCommit-YARN-Build/19426/testReport/ Max. process+thread count 869 (vs. ulimit of 5000) modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager Console output https://builds.apache.org/job/PreCommit-YARN-Build/19426/console Powered by Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          asuresh Arun Suresh added a comment -

          +1 Committing this shortly

          asuresh Arun Suresh added a comment - +1 Committing this shortly
          asuresh Arun Suresh added a comment -

          Thanks leftnoteasy. committed to branch.

          asuresh Arun Suresh added a comment - Thanks leftnoteasy . committed to branch.
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13589 (See https://builds.apache.org/job/Hadoop-trunk-Commit/13589/)
          YARN-7807. Assume intra-app anti-affinity as default for scheduling (arun suresh: rev 644afe5fd800ac4f2b873a99f9b3868c3a8c5c40)

          • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/placement/SingleConstraintAppPlacementAllocator.java
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13589 (See https://builds.apache.org/job/Hadoop-trunk-Commit/13589/ ) YARN-7807 . Assume intra-app anti-affinity as default for scheduling (arun suresh: rev 644afe5fd800ac4f2b873a99f9b3868c3a8c5c40) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/placement/SingleConstraintAppPlacementAllocator.java

          People

            leftnoteasy Wangda Tan
            leftnoteasy Wangda Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: