You can use *wf:id()* It returns the workflow job ID for the current workflow job.
Add this to job configuration and access it inside your MR job by reading configuration. On 11 Feb 2016 17:26, "Hanmay Udgiri" <[email protected]> wrote: > Hi All, > > I am running a Java MapReduce program using oozie workflow. I want to > create DB entry with job ID as a key > How to get the current oozie job ID inside Java mapper class? > > Thanks > Hanmayya >
