Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3400

Warning everytime you start Standalone about Notification system unable to publish.

    Details

    • Release Notes:
      Fixed issue causing the warning messages about the Notification system on the restart of the standalone.
    • Rank:
      1|hzyy2n:

      Description

      Following is the warning that I see in the logs

      2015-08-14 08:56:13,983 - WARN  [heartbeats-scheduler:c.c.c.d.s.s.LocalStreamService$StreamSizeAggregator@206] - Could not publish notification on feed default.stream.logEventStreamSize
      java.lang.NullPointerException: null
              at co.cask.cdap.notifications.service.inmemory.InMemoryNotificationService.publish(InMemoryNotificationService.java:67) ~[co.cask.cdap.cdap-notifications-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.notifications.service.AbstractNotificationService.publish(AbstractNotificationService.java:91) ~[co.cask.cdap.cdap-notifications-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.data.stream.service.LocalStreamService$StreamSizeAggregator.publishNotification(LocalStreamService.java:201) [co.cask.cdap.cdap-data-fabric-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.data.stream.service.LocalStreamService$StreamSizeAggregator.checkAggregatedSize(LocalStreamService.java:187) [co.cask.cdap.cdap-data-fabric-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.data.stream.service.LocalStreamService.runOneIteration(LocalStreamService.java:98) [co.cask.cdap.cdap-data-fabric-3.2.0-SNAPSHOT.jar:na]
              at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [co.cask.cdap.cdap-cli-3.2.0-SNAPSHOT.jar:na]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
              at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
      2015-08-14 08:56:13,984 - WARN  [heartbeats-scheduler:c.c.c.d.s.s.LocalStreamService$StreamSizeAggregator@206] - Could not publish notification on feed default.stream.extendedcontactsSize
      java.lang.NullPointerException: null
              at co.cask.cdap.notifications.service.inmemory.InMemoryNotificationService.publish(InMemoryNotificationService.java:67) ~[co.cask.cdap.cdap-notifications-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.notifications.service.AbstractNotificationService.publish(AbstractNotificationService.java:91) ~[co.cask.cdap.cdap-notifications-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.data.stream.service.LocalStreamService$StreamSizeAggregator.publishNotification(LocalStreamService.java:201) [co.cask.cdap.cdap-data-fabric-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.data.stream.service.LocalStreamService$StreamSizeAggregator.checkAggregatedSize(LocalStreamService.java:187) [co.cask.cdap.cdap-data-fabric-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.data.stream.service.LocalStreamService.runOneIteration(LocalStreamService.java:98) [co.cask.cdap.cdap-data-fabric-3.2.0-SNAPSHOT.jar:na]
              at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:170) [co.cask.cdap.cdap-cli-3.2.0-SNAPSHOT.jar:na]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_51]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_51]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_51]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
              at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
      

        Attachments

          Activity

            People

            • Assignee:
              sagar Sagar Kapare
              Reporter:
              nitin Nitin Motgi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: