hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (YARN-8899) TestCleanupAfterKIll is failing due to unsatisfied dependencies
Date Thu, 18 Oct 2018 18:36:00 GMT

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

Robert Kanter reassigned YARN-8899:
-----------------------------------

    Assignee: Robert Kanter

> TestCleanupAfterKIll is failing due to unsatisfied dependencies
> ---------------------------------------------------------------
>
>                 Key: YARN-8899
>                 URL: https://issues.apache.org/jira/browse/YARN-8899
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn-native-services
>    Affects Versions: 3.3.0
>            Reporter: Eric Yang
>            Assignee: Robert Kanter
>            Priority: Major
>         Attachments: YARN-8899.001.patch
>
>
> BouncyCastle upgrade cause unit test to fail due to unsatisfied transitive dependencies.
> It looks like the new version of bcprov-jdk15on bring in a new dependency bcpkix-jdk15on.
 Minicluster does not have bcpkix-jdk15on dependency and cause unit test that depends on minicluster
to fail.
> {code}
> [ERROR] testRegistryCleanedOnLifetimeExceeded(org.apache.hadoop.yarn.service.TestCleanupAfterKill)
 Time elapsed: 2.709 s  <<< ERROR!
> java.lang.NoClassDefFoundError: org/bouncycastle/operator/OperatorCreationException
> 	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:836)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
> 	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1256)
> 	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:324)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
> 	at org.apache.hadoop.yarn.server.MiniYARNCluster.initResourceManager(MiniYARNCluster.java:348)
> 	at org.apache.hadoop.yarn.server.MiniYARNCluster.access$200(MiniYARNCluster.java:128)
> 	at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceInit(MiniYARNCluster.java:497)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
> 	at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
> 	at org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:316)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
> 	at org.apache.hadoop.yarn.service.ServiceTestUtils.setupInternal(ServiceTestUtils.java:251)
> 	at org.apache.hadoop.yarn.service.TestCleanupAfterKill.testRegistryCleanedOnLifetimeExceeded(TestCleanupAfterKill.java:66)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	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.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> Caused by: java.lang.ClassNotFoundException: org.bouncycastle.operator.OperatorCreationException
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 23 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message