[ https://issues.apache.org/jira/browse/OOZIE-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shwetha G S updated OOZIE-2065: ------------------------------- Fix Version/s: (was: trunk) 4.2 > Oozie returns incorrect total action for coord dryrun > ----------------------------------------------------- > > Key: OOZIE-2065 > URL: https://issues.apache.org/jira/browse/OOZIE-2065 > Project: Oozie > Issue Type: Bug > Reporter: Purshotam Shah > Assignee: Purshotam Shah > Fix For: 4.2 > > Attachments: OOZIE-2065-V1.patch, OOZIE-2065-V2.patch > > > coord job should have 1 action, where action-nominal-time="2009-12-15T06:00Z". > but dryrun reported 0. > {code} > $ oozie job -dryrun -config job.properties -oozie > https://localhost:4443/oozie > ***coordJob after parsing: *** > <?xml version="1.0" encoding="UTF-8"?> > <coordinator-app xmlns="uri:oozie:coordinator:0.2" name="END2END-13" > frequency="1" start="2009-12-15T06:00Z" end="2009-12-18T01:00Z" > timezone="UTC" freq_timeunit="MONTH" end_of_duration="NONE"> > <controls> > <timeout>10</timeout> > <concurrency>1</concurrency> > <execution>FIFO</execution> > </controls> > <input-events> > <data-in name="din2" dataset="din2"> > <dataset name="din2" frequency="1" > initial-instance="2009-06-01T05:00Z" timezone="UTC" freq_timeunit="DAY" > end_of_duration="NONE"> > > <uri-template>hdfs://localhost/coord-input/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template> > </dataset> > <start-instance>${coord:current(-coord:daysInMonth(-(START_OFFSET)) > - (START_OFFSET) + 1)}</start-instance> > <end-instance>${coord:current(- (END_OFFSET))}</end-instance> > </data-in> > </input-events> > <output-events> > <data-out name="OUT" dataset="dout"> > <dataset name="dout" frequency="15" > initial-instance="2009-06-01T05:00Z" timezone="UTC" freq_timeunit="MINUTE" > end_of_duration="NONE"> > > <uri-template>hdfs://localhost/coord-input/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template> > </dataset> > <instance>${coord:current((variable1))}</instance> > </data-out> > </output-events> > <action> > <workflow> > <app-path>hdfs://localhost/wf-mr</app-path> > <configuration> > <property> > <name>jobTracker</name> > <value>${jobTracker}</value> > </property> > <property> > <name>nameNode</name> > <value>${nameNode}</value> > </property> > <property> > <name>queueName</name> > <value>${queueName}</value> > </property> > <property> > <name>inputDir</name> > <value>${coord:dataIn('din2')}</value> > </property> > <property> > <name>outputDir</name> > <value>${coord:dataOut('OUT')}</value> > </property> > </configuration> > </workflow> > </action> > </coordinator-app> > ***actions for instance*** > ***total coord actions is 0 *** > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)