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

Archana H resolved LENS-1249.
-----------------------------
    Resolution: Duplicate

> Thowing exception when trying to set job status to expired if its already 
> deleted from Quartz
> ---------------------------------------------------------------------------------------------
>
>                 Key: LENS-1249
>                 URL: https://issues.apache.org/jira/browse/LENS-1249
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Archana H
>
> Error:
> {CODE}
> 01 Aug 2016 12:24:55 [2b891bc3-65bd-44ac-b106-f03173a04a1e] 
> [SchedulerEventListener_AsyncThread-2] ERROR 
> org.apache.lens.server.scheduler.SchedulerEventListener - Error while 
> expiring the job
> org.apache.lens.server.api.error.LensException: Failed to check the job with 
> jobHandle: 55bd5328-9431-4670-9d4d-6bc2337b9ddb
>         at 
> org.apache.lens.server.scheduler.AlarmService.checkExists(AlarmService.java:204)
>  ~[classes/:na]
>         at 
> org.apache.lens.server.scheduler.SchedulerServiceImpl.expireJob(SchedulerServiceImpl.java:207)
>  ~[classes/:na]
>         at 
> org.apache.lens.server.scheduler.SchedulerEventListener.process(SchedulerEventListener.java:75)
>  [classes/:na]
>         at 
> org.apache.lens.server.scheduler.SchedulerEventListener.process(SchedulerEventListener.java:48)
>  [classes/:na]
>         at 
> org.apache.lens.server.api.events.AsyncEventListener$1.run(AsyncEventListener.java:110)
>  [lens-server-api-2.6.8-inm-SNAPSHOT.jar:2.6.8-inm-SNAPSHOT]
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [na:1.8.0_40]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [na:1.8.0_40]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
> Caused by: org.quartz.JobPersistenceException: Couldn't check for existence 
> of job: No operations allowed after connection closed.
>         at 
> org.quartz.impl.jdbcjobstore.JobStoreSupport.checkExists(JobStoreSupport.java:1918)
>  ~[quartz-2.2.2.jar:na]
>         at 
> org.quartz.impl.jdbcjobstore.JobStoreSupport$21.execute(JobStoreSupport.java:1909)
>  ~[quartz-2.2.2.jar:na]
>         at 
> org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3799)
>  ~[quartz-2.2.2.jar:na]
>         at 
> org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93) 
> ~[quartz-2.2.2.jar:na]
>         at 
> org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3735)
>  ~[quartz-2.2.2.jar:na]
>         at 
> org.quartz.impl.jdbcjobstore.JobStoreSupport.checkExists(JobStoreSupport.java:1906)
>  ~[quartz-2.2.2.jar:na]
>         at 
> org.quartz.core.QuartzScheduler.checkExists(QuartzScheduler.java:1544) 
> ~[quartz-2.2.2.jar:na]
>         at org.quartz.impl.StdScheduler.checkExists(StdScheduler.java:564) 
> ~[quartz-2.2.2.jar:na]
>         at 
> org.apache.lens.server.scheduler.AlarmService.checkExists(AlarmService.java:201)
>  ~[classes/:na]
>         ... 7 common frames omitted
> {CODE}



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

Reply via email to