XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: YARN-321
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      CentOS 6.3, JDK 1.6.0_31

    • Hadoop Flags:
      Reviewed

      Description

      I ran the following commands. And I confirmed failure of TestAHSWebApp.

      [sinchii@hdX YARN-321-test]$ mvn clean test -Dtest=org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.*
      
      Running org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.TestAHSWebServices
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.492 sec - in org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.TestAHSWebServices
      Running org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.TestAHSWebApp
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.193 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.TestAHSWebApp
      initializationError(org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.TestAHSWebApp)  Time elapsed: 0.016 sec  <<< ERROR!
      java.lang.Exception: Test class should have exactly one public zero-argument constructor
              at org.junit.runners.BlockJUnit4ClassRunner.validateZeroArgConstructor(BlockJUnit4ClassRunner.java:144)
              at org.junit.runners.BlockJUnit4ClassRunner.validateConstructor(BlockJUnit4ClassRunner.java:121)
              at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:101)
              at org.junit.runners.ParentRunner.validate(ParentRunner.java:344)
      (*snip*)
      

        Attachments

        1. YARN-1534.patch
          2 kB
          Shinichi Yamashita

          Activity

            People

            • Assignee:
              sinchii Shinichi Yamashita
              Reporter:
              sinchii Shinichi Yamashita
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: