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

Coordinator input event instance should limit 1 instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0
    • None

    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.

      Attachments

        1. OOZIE-15.patch
          6 kB
          Mona Chitnis

        Activity

          People

            Unassigned Unassigned
            chitnis Mona Chitnis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified