atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen He (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-89) Atlas can not start if data/berkley directory exists originally
Date Fri, 31 Jul 2015 22:25:04 GMT

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

Chen He updated ATLAS-89:
-------------------------
    Affects Version/s: 0.5-incubating

> Atlas can not start if data/berkley directory exists originally
> ---------------------------------------------------------------
>
>                 Key: ATLAS-89
>                 URL: https://issues.apache.org/jira/browse/ATLAS-89
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.5-incubating
>            Reporter: Chen He
>
> 2015-07-30 15:01:31,125 WARN  - [main:] ~ Failed startup of context o.e.j.w.WebAppContext@6d9041cc{/,file:/scratch/atlas/apache-atlas-0.6-incubating-SNAPSHOT/server/webapp/atlas/,STARTING}{/scratch/atlas/apache-atlas-0.6-incubating-SNAPSHOT/server/webapp/atlas}
(WebAppContext:514)
> com.google.inject.CreationException: Unable to create injector, see the following errors:
> 1) Error in custom provider, java.lang.IllegalArgumentException: Could not instantiate
implementation: com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager
>   at org.apache.atlas.RepositoryMetadataModule.configure(RepositoryMetadataModule.java:50)
>   at org.apache.atlas.RepositoryMetadataModule.configure(RepositoryMetadataModule.java:50)
>   while locating com.google.inject.throwingproviders.ThrowingProviderBinder$Result annotated
with @com.google.inject.internal.UniqueAnnotations$Internal(value=1)
> Caused by: java.lang.IllegalArgumentException: Could not instantiate implementation:
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager
>         at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:55)
>         at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:421)
>         at com.thinkaurelius.titan.diskstorage.Backend.getStorageManager(Backend.java:361)
>         at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1275)
>         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.graph.TitanGraphProvider.get(TitanGraphProvider.java:86)
>         at org.apache.atlas.repository.graph.TitanGraphProvider.get(TitanGraphProvider.java:38)
>         at com.google.inject.throwingproviders.ThrowingProviderBinder$SecondaryBinder$3.get(ThrowingProviderBinder.java:350)
>         at com.google.inject.throwingproviders.ThrowingProviderBinder$SecondaryBinder$3.get(ThrowingProviderBinder.java:346)
>         at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
>         at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
>         at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
>         at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>         at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
>         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
>         at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
>         at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
>         at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
>         at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
>         at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
>         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.atlas.web.listeners.GuiceServletConfig.getInjector(GuiceServletConfig.java:67)
>         at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)
>         at org.apache.atlas.web.listeners.GuiceServletConfig.contextInitialized(GuiceServletConfig.java:106)
>         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:85)
>         at org.apache.atlas.Main.main(Main.java:87)
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>         at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:44)
>         ... 47 more
> Caused by: java.lang.IllegalArgumentException: Environment home data/berkley doesn't
exist
>         at com.sleepycat.je.log.FileManager.<init>(FileManager.java:367)
>         at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:453)
>         at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:382)
>         at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:178)
>         at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:246)
>         at com.sleepycat.je.Environment.<init>(Environment.java:227)
>         at com.sleepycat.je.Environment.<init>(Environment.java:170)
>  at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.initialize(BerkeleyJEStoreManager.java:104)
>         at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.<init>(BerkeleyJEStoreManager.java:68)
>         ... 52 more



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

Mime
View raw message