hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-2864) TestRMWebServicesAppsModification fails in trunk
Date Sun, 01 Feb 2015 02:01:35 GMT

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

Ted Yu resolved YARN-2864.
--------------------------
    Resolution: Cannot Reproduce

> TestRMWebServicesAppsModification fails in trunk
> ------------------------------------------------
>
>                 Key: YARN-2864
>                 URL: https://issues.apache.org/jira/browse/YARN-2864
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>            Priority: Minor
>
> From https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/5/console :
> {code}
> Tests run: 32, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 151.14 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification
> testGetNewApplicationAndSubmit[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification)
 Time elapsed: 0.276 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: org/apache/hadoop/io/FastByteComparisons
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 	at org.apache.hadoop.io.WritableComparator.compareBytes(WritableComparator.java:187)
> 	at org.apache.hadoop.io.BinaryComparable.compareTo(BinaryComparable.java:50)
> 	at org.apache.hadoop.io.BinaryComparable.equals(BinaryComparable.java:72)
> 	at org.apache.hadoop.io.Text.equals(Text.java:348)
> 	at java.util.ArrayList.indexOf(ArrayList.java:216)
> 	at java.util.ArrayList.contains(ArrayList.java:199)
> 	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testAppSubmit(TestRMWebServicesAppsModification.java:844)
> 	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testGetNewApplicationAndSubmit(TestRMWebServicesAppsModification.java:726)
> testGetNewApplicationAndSubmit[3](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification)
 Time elapsed: 0.225 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: org/apache/hadoop/io/FastByteComparisons
> 	at org.apache.hadoop.io.WritableComparator.compareBytes(WritableComparator.java:187)
> 	at org.apache.hadoop.io.BinaryComparable.compareTo(BinaryComparable.java:50)
> 	at org.apache.hadoop.io.BinaryComparable.equals(BinaryComparable.java:72)
> 	at org.apache.hadoop.io.Text.equals(Text.java:348)
> 	at java.util.ArrayList.indexOf(ArrayList.java:216)
> 	at java.util.ArrayList.contains(ArrayList.java:199)
> 	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testAppSubmit(TestRMWebServicesAppsModification.java:844)
> 	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testGetNewApplicationAndSubmit(TestRMWebServicesAppsModification.java:726)
> {code}
> Running on MacBook, I got (with Java 1.7.0_60):
> {code}
> Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification
> Tests run: 32, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 146.749 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification
> testGetNewApplicationAndSubmit[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification)
 Time elapsed: 0.185 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<Accepted> but was:<Internal Server Error>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testAppSubmit(TestRMWebServicesAppsModification.java:799)
> 	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testGetNewApplicationAndSubmit(TestRMWebServicesAppsModification.java:726)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message