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

Add test scope to certain entries in hadoop-yarn-server-resourcemanager pom.xml

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: 3.0.0-beta1
    • Component/s: yarn
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The tag

          <scope>test</scope>
      

      is missing from a few entries in the pom.xml for hadoop-yarn-server-resourcemanager.

        Activity

        Hide
        rchiang Ray Chiang added a comment -

        Oddly, I also see this entry as being unnecessary or at least I can't figure out how make this fail when I remove it.

            <dependency>
              <groupId>org.apache.hadoop</groupId>
              <artifactId>hadoop-yarn-server-timelineservice</artifactId>
              <scope>test</scope>
              <type>test-jar</type>
            </dependency>
        
        Show
        rchiang Ray Chiang added a comment - Oddly, I also see this entry as being unnecessary or at least I can't figure out how make this fail when I remove it. <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-yarn-server-timelineservice</artifactId> <scope>test</scope> <type>test-jar</type> </dependency>
        Hide
        rchiang Ray Chiang added a comment -

        Haibo Chen or Sangjin Lee, can you let me know if the above is also no longer necessary? I'm guessing it might be leftover from some test restructuring.

        Show
        rchiang Ray Chiang added a comment - Haibo Chen or Sangjin Lee , can you let me know if the above is also no longer necessary? I'm guessing it might be leftover from some test restructuring.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 19s 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 14m 22s trunk passed
        +1 compile 0m 34s trunk passed
        +1 mvnsite 0m 37s trunk passed
        +1 javadoc 0m 21s trunk passed
              Patch Compile Tests
        +1 mvninstall 0m 33s the patch passed
        +1 compile 0m 31s the patch passed
        +1 javac 0m 31s the patch passed
        +1 mvnsite 0m 34s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 xml 0m 1s The patch has no ill-formed XML file.
        +1 javadoc 0m 18s the patch passed
              Other Tests
        -1 unit 46m 29s hadoop-yarn-server-resourcemanager in the patch failed.
        +1 asflicense 0m 20s The patch does not generate ASF License warnings.
        65m 38s



        Reason Tests
        Failed junit tests hadoop.yarn.server.resourcemanager.TestRMRestart
        Timed out junit tests org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue YARN-6868
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12878834/YARN-6868.001.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
        uname Linux 91f8acd3bf45 3.13.0-116-generic #163-Ubuntu SMP Fri Mar 31 14:13:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / ac9489f
        Default Java 1.8.0_131
        unit https://builds.apache.org/job/PreCommit-YARN-Build/16540/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16540/testReport/
        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/16540/console
        Powered by Apache Yetus 0.6.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 19s 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 14m 22s trunk passed +1 compile 0m 34s trunk passed +1 mvnsite 0m 37s trunk passed +1 javadoc 0m 21s trunk passed       Patch Compile Tests +1 mvninstall 0m 33s the patch passed +1 compile 0m 31s the patch passed +1 javac 0m 31s the patch passed +1 mvnsite 0m 34s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 1s The patch has no ill-formed XML file. +1 javadoc 0m 18s the patch passed       Other Tests -1 unit 46m 29s hadoop-yarn-server-resourcemanager in the patch failed. +1 asflicense 0m 20s The patch does not generate ASF License warnings. 65m 38s Reason Tests Failed junit tests hadoop.yarn.server.resourcemanager.TestRMRestart Timed out junit tests org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue YARN-6868 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12878834/YARN-6868.001.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux 91f8acd3bf45 3.13.0-116-generic #163-Ubuntu SMP Fri Mar 31 14:13:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / ac9489f Default Java 1.8.0_131 unit https://builds.apache.org/job/PreCommit-YARN-Build/16540/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16540/testReport/ 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/16540/console Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        rchiang Ray Chiang added a comment -

        Unit test failure looks to be the same as YARN-5548.

        Show
        rchiang Ray Chiang added a comment - Unit test failure looks to be the same as YARN-5548 .
        Hide
        haibochen Haibo Chen added a comment -

        +1. Will commit it tomorrow.

        Show
        haibochen Haibo Chen added a comment - +1. Will commit it tomorrow.
        Hide
        haibochen Haibo Chen added a comment -

        Thanks Ray Chiang for the fix. I have committed it to trunk.

        Show
        haibochen Haibo Chen added a comment - Thanks Ray Chiang for the fix. I have committed it to trunk.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12274 (See https://builds.apache.org/job/Hadoop-trunk-Commit/12274/)
        YARN-6868. Add test scope to certain entries in (haibochen: rev a20e7105ea9d4e38d7f8f9fd48035e342bb22f1c)

        • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12274 (See https://builds.apache.org/job/Hadoop-trunk-Commit/12274/ ) YARN-6868 . Add test scope to certain entries in (haibochen: rev a20e7105ea9d4e38d7f8f9fd48035e342bb22f1c) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml

          People

          • Assignee:
            rchiang Ray Chiang
            Reporter:
            rchiang Ray Chiang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development