[
https://issues.apache.org/jira/browse/OOZIE-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junfan Zhang updated OOZIE-3482:
--------------------------------
Description:
The {{CoordSubmitXCommand#validateCoordinatorJob}} is to validate the
frequency, including that check if the frequency is faster than 5 min and
frequency is not invalid. But in OOZIE document, the frequency format can be EL
or crontab formual. In this {{validateCoordinatorJob}}, the logic of the code
is wrong.
The related code is linked to
[gist|https://gist.github.com/zuston/2dbc699a207c4f65ecbca4f93206a132].
was:
The {{CoordSubmitXCommand#validateCoordinatorJob}} is to validate the
frequency, including that check if the frequency is faster than 5 min and
frequency is not invalid. But in OOZIE document, the frequency format can be EL
or crontab formual. In this {{validateCoordinatorJob}}, the logic of this code
is wrong.
The related code is linked to
[gist|https://gist.github.com/zuston/2dbc699a207c4f65ecbca4f93206a132].
> Fix bug in CoordSubmitXCommand#validateCoordinatorJob
> -----------------------------------------------------
>
> Key: OOZIE-3482
> URL: https://issues.apache.org/jira/browse/OOZIE-3482
> Project: Oozie
> Issue Type: Bug
> Reporter: Junfan Zhang
> Assignee: Junfan Zhang
> Priority: Major
>
> The {{CoordSubmitXCommand#validateCoordinatorJob}} is to validate the
> frequency, including that check if the frequency is faster than 5 min and
> frequency is not invalid. But in OOZIE document, the frequency format can be
> EL or crontab formual. In this {{validateCoordinatorJob}}, the logic of the
> code is wrong.
> The related code is linked to
> [gist|https://gist.github.com/zuston/2dbc699a207c4f65ecbca4f93206a132].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)