You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by jun aoki <ju...@gmail.com> on 2013/02/19 20:03:16 UTC
oozie workflow.xml validation/visualization tool
(Re-sending with a proper title as advised)
Hi Oozie users,
I have made an online workflow.xml validation tool, I call it VisualOozie.
http://alpha.visualoozie.cloudbees.net
(It is still alpha version and buggy though.)
You can file upload workflow.xml files and the tool visualize the workflows.
Try one of the oozie examples from
http://svn.apache.org/viewvc/oozie/trunk/examples/src/main/apps/demo/workflow.xml?view=markup
And it can also identify issues in your workflow.xml files.
For example, just like in this email thread, some xml mistakes can be
identified.
PLEASE NOTE that this is my private project and not supported by the Apache
Oozie team, so if you have any questions/comments/feedback, please send to
this google groups forum.
https://groups.google.com/forum/#!forum/visualoozie-user
--------------- EXAMPLE
------------------------------------------------------------------------------
<workflow-app xmlns="uri:oozie:workflow:0.4" name="java-main-wf">
<start to="shell-node"/>
<action name="shell-node">
<shell xmlns="uri:oozie:shell-action:0.3">
<job-tracker>${jobTracker}</job-tracker>
<name-node>${nameNode}</name-node>
<exec>script1.sh</exec>
<file>script1/file1#file1</file>
<argument>arg1</argument>
<argument>arg2=val2</argument>
</shell>
<ok to="end" />
<error to="fail1" />
</action>
<kill name="fail1">
<message>Java failed, error
message[${wf:errorMessage(wf:lastErrorNode())}]</message>
</kill>
<end name="end"/>
</workflow-app>
Re: oozie workflow.xml validation/visualization tool
Posted by Ryota Egashira <eg...@yahoo-inc.com>.
Nice work, Jun!
Ryota
On 2/19/13 11:03 AM, "jun aoki" <ju...@gmail.com> wrote:
>(Re-sending with a proper title as advised)
>
>Hi Oozie users,
>
>I have made an online workflow.xml validation tool, I call it VisualOozie.
>http://alpha.visualoozie.cloudbees.net
>(It is still alpha version and buggy though.)
>
>You can file upload workflow.xml files and the tool visualize the
>workflows.
>Try one of the oozie examples from
>http://svn.apache.org/viewvc/oozie/trunk/examples/src/main/apps/demo/workf
>low.xml?view=markup
>
>And it can also identify issues in your workflow.xml files.
>For example, just like in this email thread, some xml mistakes can be
>identified.
>
>PLEASE NOTE that this is my private project and not supported by the
>Apache
>Oozie team, so if you have any questions/comments/feedback, please send to
>this google groups forum.
>https://groups.google.com/forum/#!forum/visualoozie-user
>
>--------------- EXAMPLE
>--------------------------------------------------------------------------
>----
><workflow-app xmlns="uri:oozie:workflow:0.4" name="java-main-wf">
> <start to="shell-node"/>
> <action name="shell-node">
><shell xmlns="uri:oozie:shell-action:0.3">
><job-tracker>${jobTracker}</job-tracker>
><name-node>${nameNode}</name-node>
><exec>script1.sh</exec>
><file>script1/file1#file1</file>
><argument>arg1</argument>
><argument>arg2=val2</argument>
></shell>
><ok to="end" />
><error to="fail1" />
></action>
>
> <kill name="fail1">
> <message>Java failed, error
>message[${wf:errorMessage(wf:lastErrorNode())}]</message>
> </kill>
> <end name="end"/>
></workflow-app>