Hi Karthi,

Hope following information will help you.

Doc:
https://oozie.apache.org/docs/4.2.0/DG_SparkActionExtension.html

Example :
https://developer.ibm.com/hadoop/2015/11/05/run-spark-job-yarn-oozie/

Code :

http://3097fca9b1ec8942c4305e550ef1b50a.proxysheep.com/apache/oozie/blob/master/client/src/main/resources/spark-action-0.1.xsd

regards,

Vaquar Khan



On Wed, Jun 8, 2016 at 5:26 AM, karthi keyan <[email protected]>
wrote:

> 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
>>
>
>


-- 
Regards,
Vaquar Khan
+91 830-851-1500

Reply via email to