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

DistributedShell failed to specify resource other than memory/vcores from container_resources

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None
    • Reviewed

    Description

      After YARN-7242, it has a bug to read resource values other than memory/vcores.

      Attachments

        1. YARN-7718.001.patch
          2 kB
          Wangda Tan

        Activity

          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13465 (See https://builds.apache.org/job/Hadoop-trunk-Commit/13465/)
          YARN-7718. DistributedShell failed to specify resource other than (sunilg: rev 783a01eb4a155044a54a30a636b86b3ab2b33044)

          • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13465 (See https://builds.apache.org/job/Hadoop-trunk-Commit/13465/ ) YARN-7718 . DistributedShell failed to specify resource other than (sunilg: rev 783a01eb4a155044a54a30a636b86b3ab2b33044) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java
          sunilg Sunil G added a comment -

          Committed to trunk

          sunilg Sunil G added a comment - Committed to trunk
          sunilg Sunil G added a comment -

          Its working fine. Committing shortly

          sunilg Sunil G added a comment - Its working fine. Committing shortly
          sunilg Sunil G added a comment -

          Thanks leftnoteasy. Makes sense. I ll try some tests and ll commit today.

          sunilg Sunil G added a comment - Thanks leftnoteasy . Makes sense. I ll try some tests and ll commit today.
          leftnoteasy Wangda Tan added a comment -

          sunilg could you help to review and get this committed?

          Thanks,

          leftnoteasy Wangda Tan added a comment - sunilg could you help to review and get this committed? Thanks,
          genericqa genericqa added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 17s 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.
                trunk Compile Tests
          +1 mvninstall 16m 48s trunk passed
          +1 compile 0m 21s trunk passed
          +1 checkstyle 0m 14s trunk passed
          +1 mvnsite 0m 23s trunk passed
          +1 shadedclient 11m 29s branch has no errors when building and testing our client artifacts.
          +1 findbugs 0m 29s trunk passed
          +1 javadoc 0m 15s trunk passed
                Patch Compile Tests
          +1 mvninstall 0m 22s the patch passed
          +1 compile 0m 19s the patch passed
          +1 javac 0m 19s the patch passed
          +1 checkstyle 0m 10s the patch passed
          +1 mvnsite 0m 20s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 shadedclient 11m 13s patch has no errors when building and testing our client artifacts.
          +1 findbugs 0m 34s the patch passed
          +1 javadoc 0m 14s the patch passed
                Other Tests
          +1 unit 11m 40s hadoop-yarn-applications-distributedshell in the patch passed.
          +1 asflicense 0m 20s The patch does not generate ASF License warnings.
          55m 46s



          Subsystem Report/Notes
          Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:5b98639
          JIRA Issue YARN-7718
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12905176/YARN-7718.001.patch
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
          uname Linux 7b273cd05fb0 3.13.0-129-generic #178-Ubuntu SMP Fri Aug 11 12:48:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/patchprocess/precommit/personality/provided.sh
          git revision trunk / 2ee0d64
          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/19142/testReport/
          Max. process+thread count 639 (vs. ulimit of 5000)
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/19142/console
          Powered by Apache Yetus 0.7.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 17s 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.       trunk Compile Tests +1 mvninstall 16m 48s trunk passed +1 compile 0m 21s trunk passed +1 checkstyle 0m 14s trunk passed +1 mvnsite 0m 23s trunk passed +1 shadedclient 11m 29s branch has no errors when building and testing our client artifacts. +1 findbugs 0m 29s trunk passed +1 javadoc 0m 15s trunk passed       Patch Compile Tests +1 mvninstall 0m 22s the patch passed +1 compile 0m 19s the patch passed +1 javac 0m 19s the patch passed +1 checkstyle 0m 10s the patch passed +1 mvnsite 0m 20s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 shadedclient 11m 13s patch has no errors when building and testing our client artifacts. +1 findbugs 0m 34s the patch passed +1 javadoc 0m 14s the patch passed       Other Tests +1 unit 11m 40s hadoop-yarn-applications-distributedshell in the patch passed. +1 asflicense 0m 20s The patch does not generate ASF License warnings. 55m 46s Subsystem Report/Notes Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:5b98639 JIRA Issue YARN-7718 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12905176/YARN-7718.001.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle uname Linux 7b273cd05fb0 3.13.0-129-generic #178-Ubuntu SMP Fri Aug 11 12:48:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/patchprocess/precommit/personality/provided.sh git revision trunk / 2ee0d64 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/19142/testReport/ Max. process+thread count 639 (vs. ulimit of 5000) modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell Console output https://builds.apache.org/job/PreCommit-YARN-Build/19142/console Powered by Apache Yetus 0.7.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          leftnoteasy Wangda Tan added a comment -

          Attached ver.1 patch, we should set container_resources regardless of profiles enabled.

          leftnoteasy Wangda Tan added a comment - Attached ver.1 patch, we should set container_resources regardless of profiles enabled.

          People

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

            Dates

              Created:
              Updated:
              Resolved: