You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Junfan Zhang (JIRA)" <ji...@apache.org> on 2019/05/03 13:10:01 UTC
[jira] [Updated] (OOZIE-3482) Fix bug in
CoordSubmitXCommand#validateCoordinatorJob
[ 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)