Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2065

Oozie returns incorrect total action for coord dryrun

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:
      None

      Description

      coord job should have 1 action, where action-nominal-time="2009-12-15T06:00Z".
      but dryrun reported 0.

      $ 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 ***
      

        Attachments

        1. OOZIE-2065-V1.patch
          2 kB
          Purshotam Shah
        2. OOZIE-2065-V2.patch
          5 kB
          Purshotam Shah

          Activity

            People

            • Assignee:
              puru Purshotam Shah
              Reporter:
              puru Purshotam Shah
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: