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

Scheduler migration logs NullPointerExceptions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.1
    • Component/s: Master, Scheduler
    • Labels:
    • Rank:
      1|i007fz:

      Description

      Running the 4.3RC.

      Need to investigate why the following logs are being logged, and how to avoid them:

      2017-08-29 14:24:11,963 - ERROR [ STARTING:c.c.c.i.a.r.s.s.ProgramScheduleStoreDataset@157] - Unexpected exception happens when migrating schedule 'schedule:ETLTST.ClfScrubApp.-SNAP
      SHOT.QPublishSchedule'. Skipped.
      java.lang.NullPointerException: null
              at co.cask.cdap.internal.app.runtime.schedule.TimeScheduler.getGroupedTriggerKey(TimeScheduler.java:424) ~[na:na]
              at co.cask.cdap.internal.app.runtime.schedule.TimeScheduler.scheduleState(TimeScheduler.java:370) ~[na:na]
              at co.cask.cdap.internal.app.runtime.schedule.AbstractSchedulerService.scheduleState(AbstractSchedulerService.java:190) ~[na:na]
              at co.cask.cdap.internal.app.runtime.schedule.store.ProgramScheduleStoreDataset.migrateFromAppMetadataStore(ProgramScheduleStoreDataset.java:144) ~[na:na]
              at co.cask.cdap.scheduler.CoreSchedulerService$5.run(CoreSchedulerService.java:201) [na:na]
              at co.cask.cdap.scheduler.CoreSchedulerService$5.run(CoreSchedulerService.java:198) [na:na]
              at co.cask.cdap.scheduler.CoreSchedulerService$18.call(CoreSchedulerService.java:502) [na:na]
              at co.cask.cdap.data2.transaction.Transactions$4.run(Transactions.java:262) [na:na]
              at co.cask.cdap.data2.transaction.Transactions$CacheBasedTransactional.finishExecute(Transactions.java:235) [na:na]
              at co.cask.cdap.data2.transaction.Transactions$CacheBasedTransactional.execute(Transactions.java:223) [na:na]
              at co.cask.cdap.data2.transaction.Transactions$5.executeInternal(Transactions.java:295) [na:na]
              at co.cask.cdap.data2.transaction.Transactions$5.execute(Transactions.java:282) [na:na]
              at co.cask.cdap.data2.transaction.Transactions.execute(Transactions.java:259) [na:na]
              at co.cask.cdap.scheduler.CoreSchedulerService.execute(CoreSchedulerService.java:498) [na:na]
              at co.cask.cdap.scheduler.CoreSchedulerService.migrateSchedules(CoreSchedulerService.java:198) [na:na]
              at co.cask.cdap.scheduler.CoreSchedulerService.access$000(CoreSchedulerService.java:75) [na:na]
              at co.cask.cdap.scheduler.CoreSchedulerService$1$1.startUp(CoreSchedulerService.java:112) [na:na]
              at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) [com.google.guava.guava-13.0.1.jar:na]
              at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ali.anwar Ali Anwar
                Reporter:
                ali.anwar Ali Anwar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: