Hi, Starting with CDH 5.2.0, there is now a way to use Java to configure the MapReduce action. So, you could simply write some Java code that calls the initTableSnapshotMapperJob method on the action configuration. See the docs here for more details and an example: http://archive.cloudera.com/cdh5/cdh/5/oozie/WorkflowFunctionalSpec.html#a3.2.2.2_Configuring_the_MapReduce_action_with_Java_code Don't forget to include the necessary HBase jars with your workflow.
- Robert On Thu, Mar 5, 2015 at 11:36 AM, hitarth trivedi <[email protected]> wrote: > Hi, > > I am trying to run a mapreduce job on oozie which takes hbase table > snapshot as its input. Currently I am able to do it (not using oozie > workflow) using org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil which > provides me with a method initTableSnapshotMapperJob(). > > Is there a similar option in oozie, where I can specify hbase SNAPSHOT as > input to my map reduce job. If not what are the other options ? > > Thanks, > Hitrix >
