falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghav Kumar Gautam (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (FALCON-669) Falcon should have a default value for workflow.execution.listeners configuration
Date Wed, 03 Sep 2014 22:19:52 GMT

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

Raghav Kumar Gautam updated FALCON-669:
---------------------------------------
    Comment: was deleted

(was: fixed https://github.com/hortonworks/gsInstaller/commit/74f41c161e60003ea1d8e47a8bcd6554faa49b07)

> Falcon should have a default value for workflow.execution.listeners configuration
> ---------------------------------------------------------------------------------
>
>                 Key: FALCON-669
>                 URL: https://issues.apache.org/jira/browse/FALCON-669
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Raghav Kumar Gautam
>            Assignee: Raghav Kumar Gautam
>         Attachments: falcon-669.patch
>
>
> As of now workflow.execution.listners does not assume a default value.
> {code}
>         String listenerClassNames = StartupProperties.get().getProperty(
>                 "workflow.execution.listeners");
> {code}
> This means that if it is not configured - at the startup we will get NPE.
> {code}
> 2014-09-03 14:48:59,583 ERROR - [main:] ~ Failed to initialize service org.apache.falcon.workflow.WorkflowJobEndNotificationService
(ServiceInitializer:49)
> java.lang.NullPointerException
>         at org.apache.falcon.workflow.WorkflowJobEndNotificationService.init(WorkflowJobEndNotificationService.java:57)
>         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:549)
>         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:518)
>         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:50)
>         at org.apache.falcon.Main.main(Main.java:98)
> 2014-09-03 14:48:59,584 ERROR - [main:] ~ Failed startup of context org.mortbay.jetty.webapp.WebAppContext@38e993ad{/,/usr/lib/falcon/server/webapp/falcon}
(log:87)
> java.lang.RuntimeException: org.apache.falcon.FalconException: java.lang.NullPointerException
>         at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:59)
>         at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
>         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:518)
>         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:50)
>         at org.apache.falcon.Main.main(Main.java:98)
> Caused by: org.apache.falcon.FalconException: java.lang.NullPointerException
>         at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:50)
>         at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:56)
>         ... 11 more
> Caused by: java.lang.NullPointerException
>         at org.apache.falcon.workflow.WorkflowJobEndNotificationService.init(WorkflowJobEndNotificationService.java:57)
>         at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:47)
>         ... 12 more
> 2014-09-03 14:48:59,598 INFO  - [main:] ~ Started SocketConnector@0.0.0.0:15443 (log:67)
> {code}



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

Mime
View raw message