[
https://issues.apache.org/jira/browse/FALCON-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pallavi Rao updated FALCON-1681:
--------------------------------
Attachment: FALCON-1681.patch
As mentioned in my previous comment, scheduling with native scheduler was
already idempotent. The patch just improves it by adding log statements and
avoiding wasteful re-initialization of instances.
> Native scheduler does not maintain idempotent behaviour while scheduling
> entities.
> ----------------------------------------------------------------------------------
>
> Key: FALCON-1681
> URL: https://issues.apache.org/jira/browse/FALCON-1681
> Project: Falcon
> Issue Type: Bug
> Components: scheduler
> Affects Versions: 0.9
> Reporter: Pragya Mittal
> Attachments: FALCON-1681.patch
>
>
> Currently if an entity is scheduled once, user can schedule that entity any
> number of times. Since scheduler is not changing any functionality for end
> users, it should show the same behaviour. Although when a scheduled entity is
> scheduled again it fails with the following error :
> {noformat}
> dataqa@lda01:/mnt/users/pragya/scheduler$ fep -schedule -name Native-2
> -properties falcon.scheduler:oozie
> ERROR: Bad Request;ua1/Entity schedule failed for process: Native-2
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)