Demo for Oozie to Run Map-Reduce Job

Demo for Oozie to Run Map-Reduce Job

Memo:

  1. Create a new m/r job in a java project, then export to a jar assumed "org.marvin.bd.mr.example.jar".
  2. Create a "workflow.xml" for oozie, which uses <java> action.
  3. Organize file and archiva to the structure as below:

           oozieApps/

              |--lib/jars

              |--workflow.xml

    4. Upload the structure includes files to HDFS.

    5. Create another project for Oozie, which is used to run Oozie Client to issue the request.

(To Be Continued...)

你可能感兴趣的:(map,reduce,oozie,workflow.xml)