Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
QA
Description
On starting SLA Monitoring service, falcon looks for the following file for checkpointing :
file://${falcon.home}/data/sla/pendingfeedinstances
As this file is not there, server throws the following error :
2015-09-22 05:59:36,880 ERROR - [main:] ~ Couldn't restore the state of feed sla monitoring service. Resetting it (FeedSLAMonitoringService:340) java.io.FileNotFoundException: File file:/mnt/falcon/server/data/sla/pendingfeedinstances/feedSLAMonitoringService does not exist at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:608) at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:821) at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:598) at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:414) at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:140) at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:341) at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:766) at org.apache.falcon.service.FeedSLAMonitoringService.deserializeInternal(FeedSLAMonitoringService.java:351) at org.apache.falcon.service.FeedSLAMonitoringService.deserialize(FeedSLAMonitoringService.java:333) at org.apache.falcon.service.FeedSLAMonitoringService.init(FeedSLAMonitoringService.java:190) 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.Main.main(Main.java:102) 2015-09-22 05:59:36,882 INFO - [main:] ~ Service initialized: org.apache.falcon.service.FeedSLAMonitoringService (ServiceInitializer:52)
Although this is just a warning signal and sevice works fine but this should be handled so that user doesn't confuse the error with any failure issue.