ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7993) Slider View: Classnotfound exception on Slider AM when app created
Date Tue, 28 Oct 2014 01:30:34 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-7993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186186#comment-14186186
] 

Hudson commented on AMBARI-7993:
--------------------------------

SUCCESS: Integrated in Ambari-branch-1.7.0-docker #2 (See [https://builds.apache.org/job/Ambari-branch-1.7.0-docker/2/])
AMBARI-7993. Slider View: Classnotfound exception on Slider AM when app created (srimanth)
(sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c115cf830a74dd6617c748781fa3223fe8005717)
* contrib/views/slider/pom.xml
* contrib/views/slider/lib/org/apache/slider/slider-core/0.51.0/slider-core-0.51.0.jar
* contrib/views/slider/lib/org/apache/slider/slider-core/maven-metadata-local.xml
* contrib/views/slider/lib/org/apache/slider/slider-agent/maven-metadata-local.xml
* contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
* contrib/views/slider/lib/org/apache/slider/slider-agent/0.51.0/slider-agent-0.51.0.tar.gz


> Slider View: Classnotfound exception on Slider AM when app created
> ------------------------------------------------------------------
>
>                 Key: AMBARI-7993
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7993
>             Project: Ambari
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7993.patch
>
>
> When creating a slider app, the following exception happens on the AM:
> {code}
> 2014-10-27 19:40:24,175 ERROR [main] main.ServiceLauncher (ServiceLauncher.java:error(344))
- Exception: com/google/inject/internal/util/$Preconditions
> java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Preconditions
> 	at com.google.inject.servlet.ServletModule.configure(ServletModule.java:44)
> 	at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
> 	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:230)
> 	at com.google.inject.spi.Elements.getElements(Elements.java:103)
> 	at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
> 	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
> 	at com.google.inject.Guice.createInjector(Guice.java:96)
> 	at com.google.inject.Guice.createInjector(Guice.java:73)
> 	at com.google.inject.Guice.createInjector(Guice.java:62)
> 	at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:280)
> 	at org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:714)
> 	at org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:522)
> 	at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
> 	at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:473)
> 	at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
> 	at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:628)
> 	at org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:2230)
> Caused by: java.lang.ClassNotFoundException: com.google.inject.internal.util.$Preconditions
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	... 17 more
> 2014-10-27 19:40:24,185 INFO  [main] util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting
with status 56
> {code}
> Turns out that the Slider View has Guice JAR {{guice-4.0-beta.jar}}. However _Slider_
project itself requires {{<guice.version>3.0</guice.version>}}. 
> When [SLIDER-515|https://issues.apache.org/jira/browse/SLIDER-515] was committed, it
broke the view.



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

Mime
View raw message