helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanak Biscuitwala (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HELIX-589) Delete job API throws NPE if the job does not exist in last scheduled workflow
Date Thu, 09 Apr 2015 04:22:12 GMT

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

Kanak Biscuitwala resolved HELIX-589.
-------------------------------------
    Resolution: Fixed

> Delete job API throws NPE if the job does not exist in last scheduled workflow
> ------------------------------------------------------------------------------
>
>                 Key: HELIX-589
>                 URL: https://issues.apache.org/jira/browse/HELIX-589
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: Karthiek
>
> When trying to delete a job from a recurrent job queue, Helix throws NPE if the job does
not exist in last scheduled workflow.
> java.lang.IllegalArgumentException: Could not remove job BackupJob_MailboxDB from DAG
of queue BackupJobQueue_ESPRESSO_CHO_1_SCHEDULED_0
>         at org.apache.helix.task.TaskDriver.removeJobFromDag(TaskDriver.java:411)
>         at org.apache.helix.task.TaskDriver.deleteJobFromScheduledQueue(TaskDriver.java:345)
>         at org.apache.helix.task.TaskDriver.deleteJob(TaskDriver.java:303)
> It is possible for a user to add and immediately delete the job before the next workflow
is scheduled. Helix should accommodate this case and check if the job exists in last scheduled
workflow before trying to delete it.



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

Mime
View raw message