Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to run Scala program through Oozie action

avatar
Contributor

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

1 ACCEPTED SOLUTION

avatar
Contributor

Hi

 

Added it as dependent project to a spark project.

 

 

View solution in original post

2 REPLIES 2

avatar
Rising Star

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/

 

 

avatar
Contributor

Hi

 

Added it as dependent project to a spark project.