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

[oozie] Custom workflows graph are not displayed properly in Oozie Dashboard

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.11.0
    • Fix Version/s: 4.0.0
    • Component/s: con.oozie
    • Labels:
      None

      Description

      Having workflow definition :

      <start to="reportWfStart"/>
          <kill name="Kill">
              <message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
          </kill>
          <action name="reportWfStart">
              <report xmlns="uri:custom:reporting-action:0.1">
                  <logMessage>Workflow finished successfully.</logMessage>
                  <status>COMPLETED</status>
              </report>
      	<ok to="End"/>
      	<error to="Kill"/>
          </action>
          <end name="End"/>
      </workflow-app>
      

      Looks like oozie generate wrong JSON from XML

      [

      {"name":"","node_type":"start","ok_to":"reportWfStart"}

      ,

      {"name":"Kill","node_type":"kill","ok_to":""}

      ,

      {"name":"End","node_type":"end","ok_to":""}

      ,

      {"name":"reportWfStart","node_type":"report","ok_to":"End","error_to":"Kill"Workflowfinishedsuccessfully.COMPLETED}

      ,{}]

      in element
      "error_to":"Kill"Workflowfinishedsuccessfully.COMPLETED

      In Gui workflow graph was expected but we got a message :

      This workflow was imported from an old Hue version, save it to create a copy in the new format or open it in the old editor.

      In action tab we got a message
      There are no actions to be shown.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krish Sai K Chirravuri
                Reporter:
                Skoczylas Mariusz
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: