[
https://issues.apache.org/jira/browse/ATLAS-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417336#comment-15417336
]
Jeffrey Hagelberg edited comment on ATLAS-1117 at 8/11/16 2:40 PM:
-------------------------------------------------------------------
Ah - so LocalLocalMediators is a class in titan-core. I see the problem. In
the titan0 pom.xml, there is an exclude to prevent us from pulling in
LocalLockMediator from titan:
{noformat}
<filters>
<filter>
<artifact>com.thinkaurelius.titan:titan-core</artifact>
<!-- force use of our custom
LocalLockMediator implementation -->
<excludes>
<exclude>com/thinkaurelius/titan/diskstorage/locking/LocalLockMediator*</exclude>
</excludes>
</filter>
</filters>
{noformat}
This needs to be updated to NOT exclude LocalLockMediators. Also, some other
customized titan classes have been added since this was put in place. We
should update the filter to exclude those from titan-core as well.
was (Author: jnhagelb):
Ah - so LocalLocalMediators is a class in titan-core. I see the problem. In
the titan0 pom.xml, there is an exclude to prevent us from pulling in
LocalLockMediator from titan:
{noformat}
<filters>
<filter>
<artifact>com.thinkaurelius.titan:titan-core</artifact>
<!-- force use of our custom
LocalLockMediator implementation -->
<excludes>
<exclude>com/thinkaurelius/titan/diskstorage/locking/LocalLockMediator*</exclude>
</excludes>
</filter>
</filters>
{noformat}
This needs to be updated to NOT exclude LocalLockMediators.
> Atlas start fails on trunk
> --------------------------
>
> Key: ATLAS-1117
> URL: https://issues.apache.org/jira/browse/ATLAS-1117
> Project: Atlas
> Issue Type: Bug
> Reporter: Shwetha G S
> Assignee: David Kantor
> Priority: Blocker
> Fix For: 0.8-incubating
>
>
> {noformat}
> 2016-08-11 15:19:02,407 WARN - [main:] ~ FAILED
> org.eclipse.jetty.server.Server@5d9b7a8a: java.lang.NoClassDefFoundError:
> com/thinkaurelius/titan/diskstorage/locking/LocalLockMediators
> (AbstractLifeCycle:212)
> java.lang.NoClassDefFoundError:
> com/thinkaurelius/titan/diskstorage/locking/LocalLockMediators
> at
> com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.openDatabase(HBaseStoreManager.java:469)
> at
> com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.openDatabase(HBaseStoreManager.java:457)
> at
> com.thinkaurelius.titan.diskstorage.Backend.getStandaloneGlobalConfiguration(Backend.java:387)
> at
> com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1277)
> at
> com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:93)
> at
> com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:73)
> at
> org.apache.atlas.repository.graphdb.titan0.Titan0Database.getGraphInstance(Titan0Database.java:114)
> at
> org.apache.atlas.repository.graph.TitanGraphProvider.getGraphInstance(TitanGraphProvider.java:43)
> at
> org.apache.atlas.repository.graph.GraphHelper.<clinit>(GraphHelper.java:74)
> at
> org.apache.atlas.repository.graph.DeleteHandler.<clinit>(DeleteHandler.java:54)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at
> org.apache.atlas.ApplicationProperties.getClass(ApplicationProperties.java:115)
> at
> org.apache.atlas.RepositoryMetadataModule.getDeleteHandlerImpl(RepositoryMetadataModule.java:151)
> at
> org.apache.atlas.RepositoryMetadataModule.configure(RepositoryMetadataModule.java:98)
> at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
> at
> com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
> at com.google.inject.spi.Elements.getElements(Elements.java:110)
> at
> com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
> 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:84)
> at
> org.apache.atlas.web.listeners.GuiceServletConfig.getInjector(GuiceServletConfig.java:77)
> at
> com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)
> at
> org.apache.atlas.web.listeners.GuiceServletConfig.contextInitialized(GuiceServletConfig.java:131)
> at
> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
> at
> org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
> at
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
> at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
> at
> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
> at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
> at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
> at org.eclipse.jetty.server.Server.start(Server.java:387)
> at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
> at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
> at org.eclipse.jetty.server.Server.doStart(Server.java:354)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at
> org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:93)
> at org.apache.atlas.Atlas.main(Atlas.java:113)
> Caused by: java.lang.ClassNotFoundException:
> com.thinkaurelius.titan.diskstorage.locking.LocalLockMediators
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 42 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)