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

TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml fails in trunk

    Details

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

      Description

      Running org.apache.hadoop.yarn.conf.TestYarnConfigurationFields
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.47 sec <<< FAILURE! - in org.apache.hadoop.yarn.conf.TestYarnConfigurationFields
      testCompareConfigurationClassAgainstXml(org.apache.hadoop.yarn.conf.TestYarnConfigurationFields)  Time elapsed: 0.068 sec  <<< FAILURE!
      java.lang.AssertionError: class org.apache.hadoop.yarn.conf.YarnConfiguration has 1 variables missing in yarn-default.xml
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.apache.hadoop.conf.TestConfigurationFieldsBase.testCompareConfigurationClassAgainstXml(TestConfigurationFieldsBase.java:429)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      
      1. YARN-3954.01.patch
        0.8 kB
        Varun Saxena
      2. 0001-YARN-3954.patch
        0.8 kB
        Sunil G

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2211 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2211/)
          YARN-3954. Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff)

          • hadoop-yarn-project/CHANGES.txt
          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2211 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2211/ ) YARN-3954 . Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #262 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/262/)
          YARN-3954. Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff)

          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          • hadoop-yarn-project/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #262 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/262/ ) YARN-3954 . Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml hadoop-yarn-project/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #254 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/254/)
          YARN-3954. Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff)

          • hadoop-yarn-project/CHANGES.txt
          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #254 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/254/ ) YARN-3954 . Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #2192 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2192/)
          YARN-3954. Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff)

          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          • hadoop-yarn-project/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2192 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2192/ ) YARN-3954 . Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml hadoop-yarn-project/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #265 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/265/)
          YARN-3954. Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff)

          • hadoop-yarn-project/CHANGES.txt
          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #265 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/265/ ) YARN-3954 . Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #995 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/995/)
          YARN-3954. Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff)

          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          • hadoop-yarn-project/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #995 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/995/ ) YARN-3954 . Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml hadoop-yarn-project/CHANGES.txt
          Hide
          ajisakaa Akira Ajisaka added a comment -

          I suggest that this test case can be moved to hadoop-yarn-api. So any changes in YarnConfiguration.java will automatically trigger this.

          Agree. +1 for doing this in YARN-3958.

          Show
          ajisakaa Akira Ajisaka added a comment - I suggest that this test case can be moved to hadoop-yarn-api. So any changes in YarnConfiguration.java will automatically trigger this. Agree. +1 for doing this in YARN-3958 .
          Hide
          varun_saxena Varun Saxena added a comment -

          Thanks Rohith Sharma K S for the commit.
          Thanks Sunil G for the review

          Show
          varun_saxena Varun Saxena added a comment - Thanks Rohith Sharma K S for the commit. Thanks Sunil G for the review
          Hide
          varun_saxena Varun Saxena added a comment -

          Rohith Sharma K S,filed YARN-3958 for this.

          Show
          varun_saxena Varun Saxena added a comment - Rohith Sharma K S ,filed YARN-3958 for this.
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #8202 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8202/)
          YARN-3954. Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff)

          • hadoop-yarn-project/CHANGES.txt
          • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8202 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8202/ ) YARN-3954 . Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml. (varun saxena via rohithsharmaks) (rohithsharmaks: rev 8376ea3297a3eab33df27454b18cf215cfb7c6ff) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
          Hide
          rohithsharma Rohith Sharma K S added a comment -

          Committed to branch-2/trunk, thanks Varun Saxena for contribution and Sunil G for review!!

          Show
          rohithsharma Rohith Sharma K S added a comment - Committed to branch-2/trunk, thanks Varun Saxena for contribution and Sunil G for review!!
          Hide
          varun_saxena Varun Saxena added a comment -

          Sure, will do so soon

          Show
          varun_saxena Varun Saxena added a comment - Sure, will do so soon
          Hide
          rohithsharma Rohith Sharma K S added a comment -

          +1 lgtm for latest patch.. will commit it shortly.

          Show
          rohithsharma Rohith Sharma K S added a comment - +1 lgtm for latest patch.. will commit it shortly.
          Hide
          rohithsharma Rohith Sharma K S added a comment -

          Will raise another JIRA for it if everyone agrees as that would include some pom changes as well

          make sense to me since test does not identified by HadoopQA. I feel this should be improved. can you raise to new ticket? we can discuss more on separate jira.

          Show
          rohithsharma Rohith Sharma K S added a comment - Will raise another JIRA for it if everyone agrees as that would include some pom changes as well make sense to me since test does not identified by HadoopQA. I feel this should be improved. can you raise to new ticket? we can discuss more on separate jira.
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 14m 44s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          -1 tests included 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.
          +1 javac 7m 38s There were no new javac warning messages.
          +1 javadoc 9m 37s There were no new javadoc warning messages.
          +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
          +1 install 1m 19s mvn install still works.
          +1 eclipse:eclipse 0m 34s The patch built with eclipse:eclipse.
          +1 yarn tests 1m 56s Tests passed in hadoop-yarn-common.
              36m 15s  



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12746584/0001-YARN-3954.patch
          Optional Tests javadoc javac unit
          git revision trunk / 4025326
          hadoop-yarn-common test log https://builds.apache.org/job/PreCommit-YARN-Build/8617/artifact/patchprocess/testrun_hadoop-yarn-common.txt
          Test Results https://builds.apache.org/job/PreCommit-YARN-Build/8617/testReport/
          Java 1.7.0_55
          uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/8617/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 14m 44s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. -1 tests included 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. +1 javac 7m 38s There were no new javac warning messages. +1 javadoc 9m 37s There were no new javadoc warning messages. +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 19s mvn install still works. +1 eclipse:eclipse 0m 34s The patch built with eclipse:eclipse. +1 yarn tests 1m 56s Tests passed in hadoop-yarn-common.     36m 15s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12746584/0001-YARN-3954.patch Optional Tests javadoc javac unit git revision trunk / 4025326 hadoop-yarn-common test log https://builds.apache.org/job/PreCommit-YARN-Build/8617/artifact/patchprocess/testrun_hadoop-yarn-common.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/8617/testReport/ Java 1.7.0_55 uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-YARN-Build/8617/console This message was automatically generated.
          Hide
          varun_saxena Varun Saxena added a comment -

          Strange. Its still applying for me. I pulled again as well.
          Anyways thanks Sunil G

          Show
          varun_saxena Varun Saxena added a comment - Strange. Its still applying for me. I pulled again as well. Anyways thanks Sunil G
          Hide
          varun_saxena Varun Saxena added a comment -

          Rohith Sharma K S, its applying for me. Can you recheck ?

          Show
          varun_saxena Varun Saxena added a comment - Rohith Sharma K S , its applying for me. Can you recheck ?
          Hide
          sunilg Sunil G added a comment -

          Initial patch is not applying in trunk. Uploading a cleaner version.
          cc/Varun Saxena / Rohith Sharma K S

          Show
          sunilg Sunil G added a comment - Initial patch is not applying in trunk. Uploading a cleaner version. cc/ Varun Saxena / Rohith Sharma K S
          Hide
          rohithsharma Rohith Sharma K S added a comment -

          +1 lgtm.. patch apply is failing, could you please recheck it?

          Show
          rohithsharma Rohith Sharma K S added a comment - +1 lgtm.. patch apply is failing, could you please recheck it?
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 16m 34s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          -1 tests included 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.
          +1 javac 8m 31s There were no new javac warning messages.
          +1 javadoc 10m 30s There were no new javadoc warning messages.
          +1 release audit 0m 21s The applied patch does not increase the total number of release audit warnings.
          -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix.
          +1 install 1m 28s mvn install still works.
          +1 eclipse:eclipse 0m 36s The patch built with eclipse:eclipse.
          +1 yarn tests 2m 0s Tests passed in hadoop-yarn-common.
              40m 3s  



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12746540/YARN-3954.01.patch
          Optional Tests javadoc javac unit
          git revision trunk / 4025326
          whitespace https://builds.apache.org/job/PreCommit-YARN-Build/8611/artifact/patchprocess/whitespace.txt
          hadoop-yarn-common test log https://builds.apache.org/job/PreCommit-YARN-Build/8611/artifact/patchprocess/testrun_hadoop-yarn-common.txt
          Test Results https://builds.apache.org/job/PreCommit-YARN-Build/8611/testReport/
          Java 1.7.0_55
          uname Linux asf907.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/8611/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 16m 34s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. -1 tests included 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. +1 javac 8m 31s There were no new javac warning messages. +1 javadoc 10m 30s There were no new javadoc warning messages. +1 release audit 0m 21s The applied patch does not increase the total number of release audit warnings. -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix. +1 install 1m 28s mvn install still works. +1 eclipse:eclipse 0m 36s The patch built with eclipse:eclipse. +1 yarn tests 2m 0s Tests passed in hadoop-yarn-common.     40m 3s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12746540/YARN-3954.01.patch Optional Tests javadoc javac unit git revision trunk / 4025326 whitespace https://builds.apache.org/job/PreCommit-YARN-Build/8611/artifact/patchprocess/whitespace.txt hadoop-yarn-common test log https://builds.apache.org/job/PreCommit-YARN-Build/8611/artifact/patchprocess/testrun_hadoop-yarn-common.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/8611/testReport/ Java 1.7.0_55 uname Linux asf907.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-YARN-Build/8611/console This message was automatically generated.
          Hide
          varun_saxena Varun Saxena added a comment -

          Even I think test should be moved to hadoop-yarn-api.
          Will raise another JIRA for it if everyone agrees as that would include some pom changes as well. Currently there are no tests in hadoop-yarn-api

          Show
          varun_saxena Varun Saxena added a comment - Even I think test should be moved to hadoop-yarn-api. Will raise another JIRA for it if everyone agrees as that would include some pom changes as well. Currently there are no tests in hadoop-yarn-api
          Hide
          sunilg Sunil G added a comment -

          I suggest that this test case can be moved to hadoop-yarn-api. So any changes in YarnConfiguration.java will automatically trigger this. Could we handle this also in this ticket.

          Show
          sunilg Sunil G added a comment - I suggest that this test case can be moved to hadoop-yarn-api. So any changes in YarnConfiguration.java will automatically trigger this. Could we handle this also in this ticket.
          Hide
          sunilg Sunil G added a comment -

          Thanks Varun Saxena for pointing out.
          Yes. The description looks good for me.

          +1

          Show
          sunilg Sunil G added a comment - Thanks Varun Saxena for pointing out. Yes. The description looks good for me. +1
          Hide
          varun_saxena Varun Saxena added a comment -

          Sunil G, have added description for config added in YARN-2003 in yarn-default.xml.
          Can you have a look if description is fine ?

          Show
          varun_saxena Varun Saxena added a comment - Sunil G , have added description for config added in YARN-2003 in yarn-default.xml. Can you have a look if description is fine ?
          Hide
          varun_saxena Varun Saxena added a comment -

          This test case has been broken by YARN-2003.
          Its because there was a new config added in that JIRA yarn.cluster.max-application-priority which was not added in yarn-default.xml

          But I think the main problem here is that YarnConfiguration.java is in hadoop-yarn-api and the test is in hadoop-yarn-common.
          Either we should add this test class in hadoop-yarn-api or we shoud make sure that Jenkins runs this test in hadoop-yarn-common if YarnConfiguration.java is changed.
          Otherwise we will keep on getting this test failure after commits.

          Is there a reason tests are not there in hadoop-yarn-api ?
          cc Akira Ajisaka, Sunil G

          Show
          varun_saxena Varun Saxena added a comment - This test case has been broken by YARN-2003 . Its because there was a new config added in that JIRA yarn.cluster.max-application-priority which was not added in yarn-default.xml But I think the main problem here is that YarnConfiguration.java is in hadoop-yarn-api and the test is in hadoop-yarn-common. Either we should add this test class in hadoop-yarn-api or we shoud make sure that Jenkins runs this test in hadoop-yarn-common if YarnConfiguration.java is changed. Otherwise we will keep on getting this test failure after commits. Is there a reason tests are not there in hadoop-yarn-api ? cc Akira Ajisaka , Sunil G

            People

            • Assignee:
              varun_saxena Varun Saxena
              Reporter:
              varun_saxena Varun Saxena
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development