Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1885

SLA monitoring API throws ResultNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk, 0.10
    • 0.10
    • feed
    • None

    Description

      If there are no feeds submittted then SLA monitoring service throws following exception

      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)
      

      Attachments

        Activity

          People

            praveen Praveen Rachabattuni
            pragya.mittal Pragya Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: