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

DateList example fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • trunk
    • 5.1.0
    • examples
    • None

    Description

      The oozie/examples/src/main/java/org/apache/oozie/example/DateList.java produces a wrong action output:

      ,2009-02-01T01:15Z,2009-02-01T01:30Z,2009-02-01T01:45Z,2009-02-01T02:00Z

      instead of

      2009-02-01T01:00Z,2009-02-01T01:15Z,2009-02-01T01:30Z,2009-02-01T01:45Z
      • the first element is missing in the list (but not the separator). This is caused by an off-by-one error introduced in OOZIE-2942.

      Attachments

        1. OOZIE-3315.patch
          7 kB
          Daniel Becker
        2. OOZIE-3315-2.patch
          8 kB
          Daniel Becker
        3. OOZIE-3315-3.patch
          8 kB
          Daniel Becker

        Issue Links

          Activity

            People

              daniel.becker Daniel Becker
              daniel.becker Daniel Becker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: