Reply
Contributor
Posts: 30
Registered: ‎03-02-2017
Accepted Solution

How to run Scala program through Oozie action

Hi

 

I have a scala program with a main class and main function. It is not a spark project. it is a utility project

 

how can i schedule the scala program as a oozie action

 

regards

Shafi

Cloudera Employee
Posts: 22
Registered: ‎06-17-2016

Re: How to run Scala program through Oozie action

[ Edited ]

You can use the Java action and call the main class just like it was written in Java: https://blog.cloudera.com/blog/2013/03/how-to-use-oozie-shell-and-java-actions/

 

 

Highlighted
Contributor
Posts: 30
Registered: ‎03-02-2017

Re: How to run Scala program through Oozie action

Hi

 

Added it as dependent project to a spark project.

 

 

Announcements