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

(Updated 六月 19, 2017, 7:11 a.m.)


Review request for oozie and András Piros.


Changes
-------

Update new diff;
Add new testcase for resolveSLAContent;


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 (updated)
-----

  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/2/

Changes: https://reviews.apache.org/r/59906/diff/1-2/


Testing
-------


Thanks,

Wen Chi

Reply via email to