Hi ,

Make sure you have oozie 4.2.0 and configured with either yarn / mesos mode.

Well, you just parse your scala / Jar file in the below syntax,

<spark xmlns="uri:oozie:spark-action:0.1">
            <job-tracker>${jobTracker}</job-tracker>
            <name-node>${nameNode}</name-node>
            <master>${master}</master>
            <name>Wordcount</name>
            <class>${Classname}</class>
            <jar>${nameNode}/WordCount.jar</jar
</spark>

above sample will have the required file in HDFS and made change according
to your use case.

Regards,
Karthik


On Wed, Jun 8, 2016 at 1:10 PM, pseudo oduesp <[email protected]> wrote:

> hi ,
>
> i want ask if somone used oozie with spark ?
>
> if you can give me example:
> how ? we can configure  on yarn
> thanks
>

Reply via email to