hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shinichi Yamashita (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1534) TestAHSWebApp failed in YARN-321 branch
Date Wed, 25 Dec 2013 07:22:50 GMT

     [ https://issues.apache.org/jira/browse/YARN-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shinichi Yamashita updated YARN-1534:
-------------------------------------

    Attachment: YARN-1534.patch

I attach the patch file which I changed from the constructer to the set method in TestAHSWebApp.

> TestAHSWebApp failed in YARN-321 branch
> ---------------------------------------
>
>                 Key: YARN-1534
>                 URL: https://issues.apache.org/jira/browse/YARN-1534
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: YARN-321
>         Environment: CentOS 6.3, JDK 1.6.0_31
>            Reporter: Shinichi Yamashita
>         Attachments: YARN-1534.patch
>
>
> I ran the following commands. And I confirmed failure of TestAHSWebApp.
> {code}
> [sinchii@hdX YARN-321-test]$ mvn clean test -Dtest=org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.*
> {code}
> {code}
> 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*)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message