You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Venkat Ranganathan (JIRA)" <ji...@apache.org> on 2016/05/26 23:04:12 UTC

[jira] [Commented] (FALCON-1984) Need default configuration value: root.storage.backend (Fail to start Falcon with default startup.properties)

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

Venkat Ranganathan commented on FALCON-1984:
--------------------------------------------

The reason for this we have disabled both storage backends that we support (berkeley db and hbase).   The startup.properties has comments for this and there is documentation on how to choose the right backend.

But [~yzheng-hortonworks], you have a good point.  Let us make a clearer message in the application log which directs users to look at their startup properties and fix them for a particular backend.

> Need default configuration value: root.storage.backend (Fail to start Falcon with default startup.properties)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: FALCON-1984
>                 URL: https://issues.apache.org/jira/browse/FALCON-1984
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Ying Zheng
>
> Can't start Falcon with default startup.properties. Need to set configuration value: root.storage.backend. See error details below.
> 2016-05-26 02:24:07,419 ERROR - [main:] ~ Failed to initialize service org.apache.falcon.metadata.MetadataMappingService (ServiceInitializer:49)
> java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [com.thinkaurelius.titan.core.TitanFactory].
> 	at com.tinkerpop.blueprints.GraphFactory.open(GraphFactory.java:50)
> 	at org.apache.falcon.metadata.MetadataMappingService.initializeGraphDB(MetadataMappingService.java:123)
> 	at org.apache.falcon.metadata.MetadataMappingService.init(MetadataMappingService.java:90)
> 	at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:47)
> 	at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:56)
> 	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:550)
> 	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> 	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
> 	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:519)
> 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> 	at org.mortbay.jetty.Server.doStart(Server.java:224)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.apache.falcon.util.EmbeddedServer.start(EmbeddedServer.java:57)
> 	at org.apache.falcon.FalconServer.main(FalconServer.java:118)
> Caused by: java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at com.tinkerpop.blueprints.GraphFactory.open(GraphFactory.java:45)
> 	... 15 more
> Caused by: java.lang.IllegalStateException: Need to set configuration value: root.storage.backend
> 	at com.google.common.base.Preconditions.checkState(Preconditions.java:172)
> 	at com.thinkaurelius.titan.diskstorage.configuration.ConfigOption.get(ConfigOption.java:158)
> 	at com.thinkaurelius.titan.diskstorage.configuration.BasicConfiguration.get(BasicConfiguration.java:56)
> 	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)
> 	... 20 more



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