Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1271

Throw useful exception when workflow/coordinator/bundle file path is > 255 chars

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.6.1
    • Fix Version/s: 0.7
    • Component/s: oozie
    • Labels:
      None

      Description

      Falcon uses Oozie as its workflow engine and Oozie has a 255 char limit on the length of path of workflow/coordinator/bundle files. This limit occurs because oozie stores the path in a OpenJPA database which has 255 char limit for this column.

      Instead of failing with a hard to understand error during run time, it makes sense for Falcon to check the length of path and throw a more useful exception when an entity is scheduled.

      I propose adding a property to runtime.properties. This way, when Oozie changes the limit, falcon can update limit without code changes

        Attachments

        1. FALCON-1271.patch
          5 kB
          Balu Vellanki

          Issue Links

            Activity

              People

              • Assignee:
                bvellanki Balu Vellanki
                Reporter:
                bvellanki Balu Vellanki
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: