You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Mona Chitnis (JIRA)" <ji...@apache.org> on 2011/08/16 00:45:27 UTC
[jira] [Updated] (OOZIE-15) Coordinator input event instance should
limit 1 instance
[ https://issues.apache.org/jira/browse/OOZIE-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mona Chitnis updated OOZIE-15:
------------------------------
Description:
for the input events, if there are multiple dates, it uses the first date to resolve the data
instance, instead of giving warning or error. for example:
<data-in name="din1" dataset="ds1">
<instance>2010-06-11T00:30Z,2010-06-11T00:31Z,2010-06-11T00:32Z</instance>
</data-in>
Missing Dependencies : hdfs://gsbl90390.blue.ygrid.yahoo.com:8020/user/mchiang/coord-input/2010/06/11/00/30/_SUCCESS
similarly, there is no warning or error when applying dateOffset with count > 1.
<data-in name="din1" dataset="ds1">
<instance>${coord:dateOffset(baseDate,30,'MINUTE',5)}</instance>
</data-in>
1. dateOffset no longer has 4th argument, count.
2. however, there is no error or warning when in coordinator.xml:
<input-events>
<data-in name="din1" dataset="ds1">
<instance>${coord:current(-2)},${coord:current(-1)}</instance>
</data-in>
</input-events>
it resolved to use ${coord:current(-2)} only.
> Coordinator input event instance should limit 1 instance
> --------------------------------------------------------
>
> Key: OOZIE-15
> URL: https://issues.apache.org/jira/browse/OOZIE-15
> Project: Apache Oozie (Incubating)
> Issue Type: Bug
> Reporter: Mona Chitnis
> Labels: event, oozie
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> for the input events, if there are multiple dates, it uses the first date to resolve the data
> instance, instead of giving warning or error. for example:
> <data-in name="din1" dataset="ds1">
> <instance>2010-06-11T00:30Z,2010-06-11T00:31Z,2010-06-11T00:32Z</instance>
> </data-in>
> Missing Dependencies : hdfs://gsbl90390.blue.ygrid.yahoo.com:8020/user/mchiang/coord-input/2010/06/11/00/30/_SUCCESS
> similarly, there is no warning or error when applying dateOffset with count > 1.
> <data-in name="din1" dataset="ds1">
> <instance>${coord:dateOffset(baseDate,30,'MINUTE',5)}</instance>
> </data-in>
> 1. dateOffset no longer has 4th argument, count.
> 2. however, there is no error or warning when in coordinator.xml:
> <input-events>
> <data-in name="din1" dataset="ds1">
> <instance>${coord:current(-2)},${coord:current(-1)}</instance>
> </data-in>
> </input-events>
> it resolved to use ${coord:current(-2)} only.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira