Hi Bhasker,

In your WF app, if you place your dependent jars into the "lib"
sub-directory, they should become automatically available for your
Java action class to use (by being on the classpath).

Does this not work for you? Something like the following structure is
that I mean.

myapp/
myapp/workflow.xml
myapp/lib/
myapp/lib/main.jar
myapp/lib/dependency.jar

Or does your Java application actually submit a MR job and/or invoke
ToolRunner.run?

On Thu, Oct 18, 2012 at 3:16 PM, BHASKER ALLENE <[email protected]> wrote:
> Hi,
> As per the oozie Map reduce cook book "libjars" option is not supported by
> Oozie.
> How do we include third party libraries in Java action.
> One option I am thinking is include my hadoop command in a shell script
> and use shell script option instead of Java action.
>
> Regards,
> Bhasker



-- 
Harsh J

Reply via email to