falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1474) Handling FileNotFoundException on SLA Monitoring service start
Date Sun, 27 Sep 2015 07:25:04 GMT

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

Ajay Yadava updated FALCON-1474:
--------------------------------
    Fix Version/s: 0.8

> Handling FileNotFoundException on SLA Monitoring service start
> --------------------------------------------------------------
>
>                 Key: FALCON-1474
>                 URL: https://issues.apache.org/jira/browse/FALCON-1474
>             Project: Falcon
>          Issue Type: Sub-task
>         Environment: QA
>            Reporter: Pragya Mittal
>            Assignee: Ajay Yadava
>             Fix For: 0.8
>
>
> On starting SLA Monitoring service, falcon looks for the following file for checkpointing
:
> {code}
> file://${falcon.home}/data/sla/pendingfeedinstances
> {code}
> As this file is not there, server throws the following error :
> {code}
> 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)
> {code}
> 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.



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

Mime
View raw message