title: How can I run a hadoop example jar in an oozie workflow?
body: <p>this is driving me nuts - I feel like an idiot trying to work out how to do this!</p>
  
  <p>I'm building an app that uses the Oozie client libraries to run a workflow. Really simple, I would like to build some tests for my code, so I can check i'm doing the right thing the actual code - thanks to the oozie client library - is very simple.</p>
  
  <p>I have installed Hadoop and can run the standard wordcount supplied example, with no problems, but I can't work out how to run stuff via Oozie and its driving me nuts.</p>
  
  <p>So I figured I'd cheat and ask some people who will know (creep creep).</p>
  
  <p>How do I convert:</p>
  
  <pre><code>bin/hadoop jar hadoop*examples*.jar wordcount input/somedata output
  </code></pre>
  
  <p>To an Oozie Workflow?</p>
  
  <p>I assume its a Java action, but I just can't work out what to fill into the workflows xml!</p>
  
  <p>please help - what would the workflow look like and how would I run it on the command line.</p>
  
  <p>Many thanks.  </p>