You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Piros (JIRA)" <ji...@apache.org> on 2017/06/20 08:39:00 UTC
[jira] [Comment Edited] (OOZIE-2929) Coordinator SLA should support
configuration variable
[ https://issues.apache.org/jira/browse/OOZIE-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055364#comment-16055364 ]
Andras Piros edited comment on OOZIE-2929 at 6/20/17 8:38 AM:
--------------------------------------------------------------
Thanks for the contribution [~chiwen]! LGTM +1 (non-binding). [~pbacsko] [~gezapeti] can you please take a look?
was (Author: andras.piros):
Thanks for the contribution [~chiwen]! LGTM +1 (non-bindin). [~pbacsko] [~gezapeti] can you please take a look?
> Coordinator SLA should support configuration variable
> -----------------------------------------------------
>
> Key: OOZIE-2929
> URL: https://issues.apache.org/jira/browse/OOZIE-2929
> Project: Oozie
> Issue Type: Bug
> Components: coordinator
> Affects Versions: 4.3.0
> Reporter: Chi Wen
> Attachments: OOZIE-2929-001.patch, OOZIE-2929-002.patch
>
>
> if coordinator.xml define SLA like this:
> <sla:info>
> <sla:nominal-time>${nominal_time}</sla:nominal-time>
> <sla:should-end>${ 1 * HOURS}</sla:should-end>
> <sla:max-duration>${1 * MINUTES}</sla:max-duration>
> </sla:info>
> In job.properties define: nominal_time=${coord:nominalTime()}
> Then coordinator will run failed for "Coord Job Materialization Error: Could not parse [${coord:nominalTime()}] using [yyyy-MM-dd'T'HH:mm+0800] mask";
> Oozie should support use define a variable for SLA;
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)