[ https://issues.apache.org/jira/browse/FALCON-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aditya updated FALCON-2344: --------------------------- Description: ``` root@sandbox-hdp falcon-0.11]# ./bin/falcon admin -version Hadoop is installed, adding hadoop classpath to falcon classpath SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/falcon/falcon/distro/target/falcon-0.11/client/lib/falcon-shell-0.11.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/falcon/falcon/distro/target/falcon-0.11/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/hdp/2.6.5.0-292/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See [http://www.slf4j.org/codes.html#multiple_bindings] for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] ERROR: Unable to initialize Falcon Client object. Cause : Could not authenticate, Authentication failed, status: 503, message: Service Unavailable ``` java.lang.NullPointerException at org.apache.falcon.service.FalconJPAService.getPropsforStore(FalconJPAService.java:111) at org.apache.falcon.service.FalconJPAService.init(FalconJPAService.java:87) 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:58) at org.apache.falcon.FalconServer.main(FalconServer.java:120) 2019-07-25 20:10:25,893 ERROR - [main:] ~ Failed startup of context org.mortbay.jetty.webapp.WebAppContext@5f8890c2{/,/home/falcon/falcon/distro/target/falcon-0.11/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:58) at org.apache.falcon.FalconServer.main(FalconServer.java:120) 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.service.FalconJPAService.getPropsforStore(FalconJPAService.java:111) at org.apache.falcon.service.FalconJPAService.init(FalconJPAService.java:87) at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:47) ... 12 more was: ``` root@sandbox-hdp falcon-0.11]# ./bin/falcon admin -version Hadoop is installed, adding hadoop classpath to falcon classpath SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/falcon/falcon/distro/target/falcon-0.11/client/lib/falcon-shell-0.11.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/falcon/falcon/distro/target/falcon-0.11/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/hdp/2.6.5.0-292/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See [http://www.slf4j.org/codes.html#multiple_bindings] for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] ERROR: Unable to initialize Falcon Client object. Cause : Could not authenticate, Authentication failed, status: 503, message: Service Unavailable ``` I am running Falcon Server on Sandbox with hadoop 2.7.3 Application logs: ``` ######################################################################################## Falcon Server (STARTUP) vc.source.url: scm:git:[https://git-wip-us.apache.org/repos/asf/falcon.git/falcon-webapp] project.version: 0.11 build.epoch: 1563906186974 build.user: adiviswa vc.revision: 470e5e9f5de9ba1b6149dec60e87d3a04270eda3 domain: all build.version: 0.11-r470e5e9f5de9ba1b6149dec60e87d3a04270eda3 ######################################################################################## (ContextStartupListener:80) 2019-07-25 20:10:25,263 INFO - [main:] ~ Initializing startup properties ... (ContextStartupListener:49) 2019-07-25 20:10:25,263 INFO - [main:] ~ Initializing runtime properties ... (ContextStartupListener:52) 2019-07-25 20:10:25,263 INFO - [main:] ~ config.location is set, using: /home/falcon/falcon/distro/target/falcon-0.11/conf/runtime.properties (ApplicationProperties:120) 2019-07-25 20:10:25,264 INFO - [main:] ~ Initializing org.apache.falcon.util.RuntimeProperties properties with domain falcon (ApplicationProperties:156) 2019-07-25 20:10:25,264 INFO - [main:] ~ config.location is set, using: /home/falcon/falcon/distro/target/falcon-0.11/conf/runtime.properties (ApplicationProperties:120) 2019-07-25 20:10:25,264 INFO - [main:] ~ Initializing org.apache.falcon.util.RuntimeProperties properties with domain falcon (ApplicationProperties:156) 2019-07-25 20:10:25,267 INFO - [main:] ~ Initializing service: org.apache.falcon.security.AuthenticationInitializationService (ServiceInitializer:45) 2019-07-25 20:10:25,267 INFO - [main:] ~ Falcon Simple Authentication Enabled! (AuthenticationInitializationService:100) 2019-07-25 20:10:25,297 INFO - [main:] ~ Service initialized: org.apache.falcon.security.AuthenticationInitializationService (ServiceInitializer:52) 2019-07-25 20:10:25,298 INFO - [main:] ~ Initializing service: org.apache.falcon.workflow.WorkflowJobEndNotificationService (ServiceInitializer:45) 2019-07-25 20:10:25,300 INFO - [main:] ~ Service initialized: org.apache.falcon.workflow.WorkflowJobEndNotificationService (ServiceInitializer:52) 2019-07-25 20:10:25,301 INFO - [main:] ~ Initializing service: org.apache.falcon.service.ProcessSubscriberService (ServiceInitializer:45) 2019-07-25 20:10:25,884 INFO - [main:] ~ Service initialized: org.apache.falcon.service.ProcessSubscriberService (ServiceInitializer:52) 2019-07-25 20:10:25,888 INFO - [main:] ~ Initializing service: org.apache.falcon.service.FalconJPAService (ServiceInitializer:45) 2019-07-25 20:10:25,888 INFO - [main:] ~ config.location is set, using: /home/falcon/falcon/distro/target/falcon-0.11/conf/statestore.properties (ApplicationProperties:120) 2019-07-25 20:10:25,889 INFO - [main:] ~ Initializing org.apache.falcon.util.StateStoreProperties properties with domain falcon (ApplicationProperties:156) 2019-07-25 20:10:25,889 INFO - [main:] ~ Fallback to classpath for: file:/home/falcon/falcon/distro/target/falcon-0.11/conf/statestore.credentials (ApplicationProperties:132) 2019-07-25 20:10:25,890 INFO - [main:] ~ Initializing org.apache.falcon.util.StateStoreProperties properties with domain falcon (StateStoreProperties:91) 2019-07-25 20:10:25,891 ERROR - [main:] ~ Failed to initialize service org.apache.falcon.service.FalconJPAService (ServiceInitializer:49) java.lang.NullPointerException at org.apache.falcon.service.FalconJPAService.getPropsforStore(FalconJPAService.java:111) at org.apache.falcon.service.FalconJPAService.init(FalconJPAService.java:87) 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:58) at org.apache.falcon.FalconServer.main(FalconServer.java:120) 2019-07-25 20:10:25,893 ERROR - [main:] ~ Failed startup of context org.mortbay.jetty.webapp.WebAppContext@5f8890c2\{/,/home/falcon/falcon/distro/target/falcon-0.11/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:58) at org.apache.falcon.FalconServer.main(FalconServer.java:120) 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.service.FalconJPAService.getPropsforStore(FalconJPAService.java:111) at org.apache.falcon.service.FalconJPAService.init(FalconJPAService.java:87) at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:47) ... 12 more 2019-07-25 20:10:26,009 INFO - [main:] ~ Started SslSocketConnector@0.0.0.0:15443 (log:67) ``` > Falcon Server Fails to start > ---------------------------- > > Key: FALCON-2344 > URL: https://issues.apache.org/jira/browse/FALCON-2344 > Project: Falcon > Issue Type: Bug > Reporter: Aditya > Priority: Major > > ``` > root@sandbox-hdp falcon-0.11]# ./bin/falcon admin -version > Hadoop is installed, adding hadoop classpath to falcon classpath > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > [jar:file:/home/falcon/falcon/distro/target/falcon-0.11/client/lib/falcon-shell-0.11.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > SLF4J: Found binding in > [jar:file:/home/falcon/falcon/distro/target/falcon-0.11/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > SLF4J: Found binding in > [jar:file:/usr/hdp/2.6.5.0-292/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > SLF4J: See [http://www.slf4j.org/codes.html#multiple_bindings] for an > explanation. > > > SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] > ERROR: Unable to initialize Falcon Client object. Cause : Could not > authenticate, Authentication failed, status: 503, message: Service > Unavailable > ``` > java.lang.NullPointerException > > > > at > org.apache.falcon.service.FalconJPAService.getPropsforStore(FalconJPAService.java:111) > > > > at > org.apache.falcon.service.FalconJPAService.init(FalconJPAService.java:87) > > > > 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:58) > > > > at org.apache.falcon.FalconServer.main(FalconServer.java:120) > > > > 2019-07-25 20:10:25,893 ERROR - [main:] ~ Failed startup of context > org.mortbay.jetty.webapp.WebAppContext@5f8890c2{/,/home/falcon/falcon/distro/target/falcon-0.11/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:58) > > > > at org.apache.falcon.FalconServer.main(FalconServer.java:120) > > > > 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.service.FalconJPAService.getPropsforStore(FalconJPAService.java:111) > > > > at > org.apache.falcon.service.FalconJPAService.init(FalconJPAService.java:87) > > > > at > org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:47) > > > > ... 12 more > -- This message was sent by Atlassian JIRA (v7.6.14#76016)