Pragya Mittal created FALCON-1885:
-------------------------------------
Summary: SLA monitoring API throws ResultNotFoundException
Key: FALCON-1885
URL: https://issues.apache.org/jira/browse/FALCON-1885
Project: Falcon
Issue Type: Bug
Components: feed
Affects Versions: trunk, 0.10
Reporter: Pragya Mittal
If there are no feeds submittted then SLA monitoring service throws following
exception
{noformat}
2016-04-05 09:04:54,602 ERROR - [pool-1-thread-1:] ~ Feed SLA monitoring
failed: (FeedSLA:279)
org.apache.falcon.persistence.ResultNotFoundException: No Feed has been
scheduled for monitoring.
at
org.apache.falcon.jdbc.MonitoringJdbcStateStore.getAllMonitoredFeed(MonitoringJdbcStateStore.java:89)
at
org.apache.falcon.service.FeedSLAMonitoringService$Monitor.run(FeedSLAMonitoringService.java:269)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)