-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59906/#review178358
-----------------------------------------------------------


Ship it!




Ship It!

- András Piros


On June 20, 2017, 2:53 a.m., Wen Chi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59906/
> -----------------------------------------------------------
> 
> (Updated June 20, 2017, 2:53 a.m.)
> 
> 
> Review request for oozie and András Piros.
> 
> 
> Bugs: OOZIE-2929
>     https://issues.apache.org/jira/browse/OOZIE-2929
> 
> 
> Repository: oozie-git
> 
> 
> Description
> -------
> 
> 1. coordinator.xml define SLA like this
> ```xml
> <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>
> ```
> 2. In job.properties define: **nominal_time=${coord:nominalTime()}**
> 3. Then coordinator will run failed
> > "Coord Job Materialization Error: Could not parse [${coord:nominalTime()}] 
> > using [yyyy-MM-dd'T'HH:mm+0800] mask";
> 
> 
> Diffs
> -----
> 
>   core/src/main/java/org/apache/oozie/command/coord/CoordSubmitXCommand.java 
> 17e7fa0a9af3c160f98ea615bc73f3a1d7489aec 
>   
> core/src/test/java/org/apache/oozie/command/coord/TestCoordMaterializeTransitionXCommand.java
>  2e39689d62fcad3eb5d58f81dbd743f3e0a6b46f 
> 
> 
> Diff: https://reviews.apache.org/r/59906/diff/4/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Wen Chi
> 
>

Reply via email to