falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pragya Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-1654) ClassNotFoundException when starting falcon server in distributed mode
Date Wed, 09 Dec 2015 16:03:11 GMT

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

Pragya Mittal edited comment on FALCON-1654 at 12/9/15 4:02 PM:
----------------------------------------------------------------

This is happening due to wrong class name given in startup.properties. Instead of "JdbcStateStore"
, it should be "JDBCStateStore"


was (Author: pragya.mittal):
This is happening due to wrong class anme given in startup.properties. Instead of "JdbcStateStore"
, it should be "JDBCStateStore"

> ClassNotFoundException when starting falcon server in distributed mode
> ----------------------------------------------------------------------
>
>                 Key: FALCON-1654
>                 URL: https://issues.apache.org/jira/browse/FALCON-1654
>             Project: Falcon
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 0.9
>         Environment: QA
>            Reporter: Pragya Mittal
>
> On starting server in distributed mode, it throws following exception when native scheduler
is enabled.
> {noformat}
> 2015-12-09 14:24:39,029 ERROR - [main:] ~ Failed startup of context org.mortbay.jetty.webapp.WebAppContext@5cbf9e9f{/,/mnt/falcon/server/server/webapp/falcon}
(log:87)
> java.lang.RuntimeException: org.apache.falcon.FalconException: org.apache.falcon.FalconException:
Unable to get instance for org.apache.falcon.state.store.jdbc.JdbcStateStore
>         at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:59)
>         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:102)
> Caused by: org.apache.falcon.FalconException: org.apache.falcon.FalconException: Unable
to get instance for org.apache.falcon.state.store.jdbc.JdbcStateStore
>         at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:50)
>         at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:56)
>         ... 11 more
> Caused by: org.apache.falcon.FalconException: Unable to get instance for org.apache.falcon.state.store.jdbc.JdbcStateStore
>         at org.apache.falcon.util.ReflectionUtils.getInstanceByClassName(ReflectionUtils.java:52)
>         at org.apache.falcon.entity.store.ConfigurationStore.init(ConfigurationStore.java:148)
>         at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:47)
>         ... 12 more
> Caused by: java.lang.ClassNotFoundException: org.apache.falcon.state.store.jdbc.JdbcStateStore
>         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)
>         at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401)
>         at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
>         at org.apache.falcon.util.ReflectionUtils.getInstanceByClassName(ReflectionUtils.java:44)
> {noformat}



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

Mime
View raw message