Skip to content

Instantly share code, notes, and snippets.

@prateek
Created April 10, 2014 16:04
Show Gist options
  • Save prateek/10397596 to your computer and use it in GitHub Desktop.
Save prateek/10397596 to your computer and use it in GitHub Desktop.

Usage Instructions for Viz-Oozie

    # install graphviz
    $ sudo yum install -y graphviz

    # install vizoozie
    $ git clone https://github.com/iprovalo/vizoozie
    $ cd vizoozie
    $ sudo python setup.py install

    # generate dot file using vizoozie
    $ python vizoozie/vizoozie.py \
      <insert-input-workflow-xml> \
      <generated-ouput-file>.dot

    # generate pdf for the dot file using graphviz
    $ dot -Tpdf <generated-output-file>.dot \
          -o    <generated-pdf-file>.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment