Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2700

Viewing oozie workflow with name or action name over 40 chars fails with any DB other than sqllite

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.10.0
    • Component/s: con.oozie
    • Labels:
      None

      Description

      If you have a really long action or workflow name like:

      shel123456789101112131415161718192021222324252627282930

      Then viewing that action fails when Hue tries to write to the oozie tables in the DB with something like:

      ERROR: value too long for type character varying(40)
      STATEMENT: INSERT INTO "oozie_node" ("name", "description", "node_type", "workflow_id", "data") VALUES (E'shel123456789101112131415161718192021222324252627282930', E'', E'shell', 12, E'{}') RETURNING "oozie_node"."id"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krish Sai K Chirravuri
                Reporter:
                cconner Chris Conner
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: